Q: Why do Google PageSpeed Insights report that CSS/JS files are not fully minified? (1)Ī: Sometimes it is because gzip compression is turned off on your server. Third, Merging and Minification of CSS and JavaScript files is already a built-in feature of Magento 2 and newer, therefore, our extension does not influence this functionality in any way. phtml templates, these files will not be merged by the Magento default file merger (Magento does not know about them because they are not properly included) and subsequently, will not minify them. Some extensions might hardcode link and script tags into. xml file (for example page.xml of your theme). Second, all CSS/JS must be properly included in Magento via. This happens if you use a Linkedin button, this file is on the Linkedin server not on your server it is their responsibility to minify it, not yours, your Magento installation nor our Minify extension. Minifying …ork?v=-RC8.41700-1420&lang=en_US could save 2KiB (5% reduction) after compression. Q: Why are not all CSS/JS files merged and minified?Ī: First of all external(off-site) CSS/JS files will not be merged and minified. Turn minification off, use the W3C validator to find errors and fix them. Before you enable minification you must have an error-free code. One stray tag is enough to cause this behavior. Q: Why after enabling minification my pages are all mangled up / have missing parts?Ī: You probably have errors in your HTML/CSS/JS code. However, we offer very affordable support options for this extension on our site. Because of this, we cannot provide free support for our free extensions. Due to our other projects, we do not have time to answer all of them. In most cases, problems are a lack of basic Magento knowledge and not reading Installation Instructions. Please understand that we get more than a few emails almost every day asking for support. This extension is FREE, however, support is NOT.
0 Comments
Leave a Reply. |