Questions tagged [minify]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
164 views

Magento 2 - Minify CSS and JS in pub/static folder not updating in browser

I have activated the minify and merged option for the CSS and JS files for better site performance, but recently I have had problems, after deploying and cleaning cache in both varnish and the ...
Diego Castro's user avatar
6 votes
1 answer
508 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/...
MD Foysal Afridi's user avatar
0 votes
1 answer
288 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 ...
Nagamani's user avatar
  • 143
1 vote
0 answers
54 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 ...
Jannick's user avatar
  • 13
0 votes
0 answers
30 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.
MGPM's user avatar
  • 741
0 votes
1 answer
28 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 ...
MGPM's user avatar
  • 741
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 ...
wltprgm's user avatar
  • 111
0 votes
2 answers
283 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
Edvards Niedre's user avatar
0 votes
0 answers
318 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. ...
Rv Singh's user avatar
  • 1,617
0 votes
1 answer
167 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 ...
MGPM's user avatar
  • 741
1 vote
1 answer
53 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
KernelPaniC's user avatar
0 votes
1 answer
231 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?
chanchal's user avatar
  • 417
1 vote
1 answer
38 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 ...
Siva's user avatar
  • 1,120
5 votes
2 answers
20k 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 ...
DStephens's user avatar
1 vote
0 answers
369 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 -> ...
harri's user avatar
  • 5,465
0 votes
1 answer
589 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 ...
Siva's user avatar
  • 1,120
0 votes
1 answer
186 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 ...
Matheus Portela's user avatar
0 votes
0 answers
323 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, ...
Maksim Butko's user avatar
4 votes
2 answers
5k 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 ...
Arun SS's user avatar
  • 451
1 vote
1 answer
479 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....
Sagar Kodte's user avatar
0 votes
1 answer
456 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 ...
bondimedical's 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 ...
harri's user avatar
  • 5,465