Questions tagged [minify]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 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.
0
votes
1answer
12 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 ...
0
votes
3answers
49 views

Magento2.3: How to exclude 3rd party .js from minification

I have read this https://github.com/magento/magento2/issues/5835 and this Exclude custommodule Js from minification of Js in Magento2 and this https://github.com/magento/magento2/pull/13687 and I ...
0
votes
0answers
16 views

Minify HTML,JS,CSS - Some Resources not minified

After turning on Minification from configuration (Admin side). Changed mode to Production Mode. While checking in page speed insights that some of HTML,JS and CSS showing as not minified. Given below ...
0
votes
2answers
33 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
0
votes
0answers
33 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. ...
0
votes
1answer
31 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 ...
1
vote
1answer
33 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
0
votes
1answer
35 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?
1
vote
1answer
31 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 ...
0
votes
0answers
20 views

Magento2: js/css Minify on specific page. Is possible?

I want js/css Minify on specific page where I need. In my requirement I didn't want js/css Minify on my custom module. So is it possible to skip Minifyng on my custom module page.
0
votes
0answers
139 views

getting issue in deploy after minify js & css in Magento 2.2.4

I have enabled minify js & css then run deploy command but getting error messgae during deploy: #0 /var/www/vhosts/example.com/httpdocs/vendor/tedivm/jshrink/src/JShrink/Minifier.php(247): ...
2
votes
1answer
4k 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 ...
1
vote
0answers
191 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 -> ...
0
votes
1answer
360 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 ...
0
votes
1answer
107 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 ...
0
votes
0answers
214 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, ...
1
vote
2answers
2k 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 ...
1
vote
1answer
245 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....
0
votes
1answer
290 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 ...
2
votes
1answer
1k 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 ...