zaglebie Posted January 17, 2012 Share Posted January 17, 2012 I've run google page speed test and i got recommendation to turn on gzip because js and css are too heavy. And its right - my .css and .js file are weighting 150kb which is way to much. But how to enable gzip ? my hosting have enabled gzip prestashop shows status OK, i have checked optimization option in htaccess generation cache, minification, ccc are all enabled how to enable gzip compression to force compression of those heavy js and css files ? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 17, 2012 Share Posted January 17, 2012 Hi zaglebie, One of the very active developers here on the forum did a great rundown on how to enable gzip, and you can find it here. I hope this helps. -Mike 1 Link to comment Share on other sites More sharing options...
zaglebie Posted January 17, 2012 Author Share Posted January 17, 2012 i did it (check optimization checkbox) and it did nothing Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 17, 2012 Share Posted January 17, 2012 i did it (check optimization checkbox) and it did nothing If you followed all the instructions in those videos, you shouldn't have any issues enabling gzip. Can you post a screenshot of any results that are showing you that it is not yet enabled? -Mike Link to comment Share on other sites More sharing options...
zaglebie Posted January 17, 2012 Author Share Posted January 17, 2012 server is ok, my htaccess: optimization checkbox is checked but still i get results like this: every test page shows no compression.. Link to comment Share on other sites More sharing options...
Monta Posted January 29, 2012 Share Posted January 29, 2012 You need to change the server program from "Litespeed" to "Apache". Settings for a Litespeed is predefined by your web hosting provider and therefore you will not be able to activate the gzip through htaccess file. Link to comment Share on other sites More sharing options...
El Patron Posted September 5, 2013 Share Posted September 5, 2013 http://screencast.com/t/QRRCeOZvi Link to comment Share on other sites More sharing options...
ALMAJ Posted February 25, 2014 Share Posted February 25, 2014 How can I enable compression to themes/default/cache ?this is what i get from PageSpeed Insights and gtmetrix.com: Compressing the following resources with gzip could reduce their transfer size by 247.8KiB (73% reduction). Compressing http://www.tekcenter...894ca5515689.jscould save 152.2KiB (69% reduction). Compressinghttp://www.tekcenter...b9d80ce_all.css could save 80.7KiB (82% reduction). Compressing http://www.tekcenter...pluginDetect.js could save 14.9KiB (65% reduction). My prestashop version is: 1.5.6.2 (Default theme) Best regards. Link to comment Share on other sites More sharing options...
Recommended Posts