Questions tagged [minify]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
212 views

Magento 2.4 deploy command does not creating minify file when I am in production mode

Magento 2.4.0: The static content deployment command does not create minify file when I am in production mode. Getting error on below file. It's not creating so Magento cannot read it. pub/static/...
user avatar
0 votes
1 answer
150 views

Magento 2.3.2: Minify and merge are not working in Production mode

I am using Magento 2.3.2 When I enabled production mode with Minify and Merge options for both CSS and JS only Minify is working. Js and CSS files are not merged. Did anyone came across the issue. I ...
user avatar
  • 113
1 vote
0 answers
32 views

Magento 2 - No minified files generated in admin

I've recently minified my website with a huge success, but this little thing. I don't get any generated .js files in the Admin panel, which causes the menu and a bunch of buttons not to work. It ...
user avatar
  • 13
0 votes
0 answers
29 views

Magento2 css js minify

A stylesheet doesn't load good after the merge and minifies CSS and js. Every CSS are explored! Used static-content deploy but not works.
user avatar
  • 701
0 votes
1 answer
25 views

Magento2.1 CSS/JS minify and merge

I just put merge and minify html css and js to yes in admin panel of magento2.1. I'm in production mode and clean and flush cache and indexer are reindex but still I see all css and js files in page ...
user avatar
  • 701
0 votes
3 answers
2k views

How to exclude 3rd party JS files from minification?

I have read these pages below: https://github.com/magento/magento2/issues/5835 Exclude custommodule Js from minification of Js in Magento2 https://github.com/magento/magento2/pull/13687 and I still ...
user avatar
  • 111
0 votes
2 answers
145 views

How to minify Magento 1.x core JS/CSS files?

Any ways how to minify core JS/CSS files in Magento 1.x? (Prototype.js, etc) Thanks
user avatar
0 votes
0 answers
222 views

Magento 2.3.0 After change production mode minify js and minify css not working it admin side

I have tried all commands on our Magento 2.3.0 website but I am getting issue after changing to production mode. So if anyone is facing this type of error, please reply to me the proper solution. ...
user avatar
  • 1,597
0 votes
1 answer
128 views

Magento2 production mode error magento2.1

I got below error on my category pages and product pages after setting minify html to yes: Parse error: syntax error, unexpected ‘<‘, expecting end of file” magento2 production mode What should ...
user avatar
  • 701
1 vote
1 answer
41 views

Edit CSS In Home Page

I found a not optimized CSS in the body of the home page. How can I edit directly this code? Magento CE 2.2.2 http://prntscr.com/n5qggc
user avatar
0 votes
1 answer
193 views

Minify inline javascript in magento 2.1 EE

I found a solution to minify javascript using the following link https://gist.github.com/lewisp6/b7c50b4d82ef4d3d5d6dc888e8d1bdba At what path should I place this script?
user avatar
  • 377
1 vote
1 answer
34 views

Minification is not working even Magento is set to Production mode

Currently, we are using Magento 2.2.6. I have enabled the Minify and merge js and css via admin panel configuration but the minification is not working. I have read many posts about the very same ...
user avatar
  • 1,124
3 votes
3 answers
14k views

Magento 2 : Merge and minify js and css

It appears that there is no longer a "Developer" tab in the Admin Configuration/Advanced tab in version 2.2.5 production mode. Although the documentation still indicates there is, I have seen a ...
user avatar
1 vote
0 answers
300 views

Minify HTML and Magento 2 - Some Resources not minified

I'm updating from 2.2.3 to 2.2.5 and just testing a few bits however have found in page speed insights that Minify HTML seems to be a slight issue even though it's turned on within Stores -> ...
user avatar
  • 5,245
0 votes
1 answer
567 views

How to increase the Page-speed score?

We have created a Website with Magento 2.2.3. The page-speed score of our website is too low. We have already have the followings with our website: Full Page Cache Varnish Cache Minify HTML and CSS ...
user avatar
  • 1,124
0 votes
1 answer
149 views

Deferring Script Parameter Removal

In the Magento backend, under System -> Configuration -> Advanced -> Developer -> JavaScript Settings -> Merge JavaScript Files, I set the field value to yes and enabled the Magento ...
user avatar
0 votes
0 answers
260 views

Minified js and css not included

I perform the minification of the js and css files, I see that they were minified in the pub/static/... directory. But why in the dev-tool of the browser I see that minified files are not used? Cache, ...
user avatar
3 votes
2 answers
4k views

Magento 2.2 set/Deploy Production mode stuck at 'Static content deployment'

I have configured my magento 2.2.3 in server and checked the mode. It was "default". Then I tried to change the mode to production with this command, php bin/magento deploy:mode:set production After ...
user avatar
  • 441
1 vote
1 answer
371 views

Admin setting js minify option is not working

I have enabled the option minify js file in admin panel setting. But after doing these, it doesn't minify any single js file. It has just changed the name of js file to the .min.js and only in webpage....
user avatar
0 votes
1 answer
455 views

Magento 2.1.8 multiple JavaScript Requests

I have set following configurations in admin ; Enable JavaScript Bundling: Yes Merge JavaScript Files: Yes Minify JavaScript Files: Yes and have done similar with CSS. When I test my site with ...
user avatar
4 votes
1 answer
2k views

Magento 2 - Minified JS/CSS not generated in pub/static

When enabling minify js and minify css within admin my storefront breaks. The markup is trying to call the minified files however these are not generated causing a lot of not found errors in browser ...
user avatar
  • 5,245