sunreader Posted March 26, 2014 Share Posted March 26, 2014 (edited) Hi, I noticed that by default, prestashop content is not being gzip compressed. My question is: why? adding this to the .htaccess file, improves the loading quite a lot. # compress text, HTML, JavaScript, CSS, and XMLAddOutputFilterByType DEFLATE text/plainAddOutputFilterByType DEFLATE text/htmlAddOutputFilterByType DEFLATE text/xmlAddOutputFilterByType DEFLATE text/cssAddOutputFilterByType DEFLATE application/xmlAddOutputFilterByType DEFLATE application/xhtml+xmlAddOutputFilterByType DEFLATE application/rss+xmlAddOutputFilterByType DEFLATE application/javascriptAddOutputFilterByType DEFLATE application/x-javascript# remove browser bugsBrowserMatch ^Mozilla/4 gzip-only-text/htmlBrowserMatch ^Mozilla/4\.0[678] no-gzipBrowserMatch \bMSIE !no-gzip !gzip-only-text/htmlHeader append Vary User-Agent Source: http://gtmetrix.com/enable-gzip-compression.html Here's my sites result before and after gzip compression: No gzip: gzip: Edited March 26, 2014 by sunreader (see edit history) Link to comment Share on other sites More sharing options...
sunreader Posted March 26, 2014 Author Share Posted March 26, 2014 some feedback would be nice. Link to comment Share on other sites More sharing options...
Recommended Posts