Jump to content

[SOLVED] gzip compression and other ways of speeding up the site


Recommended Posts

My hosting does not support memcached module nor the cacheFS thing. So now i'm stuck with a slow site. My new solution is, hopefully works, is to use gzip compression. Im just wondering if i can just add the gzip function to the top of main page, index.php, or i would have to add that function to every single php and tpl file?

Link to comment
Share on other sites

  • 8 months later...

It sometimes helps to test if your server is compressing your pages. Numerous sites will check this for you, here is one,

 

http://www.whatsmyip.org/http-compression-test/

 

If your pages are gzip great, if not you can try,

 

Advanced Parameters > Performance

 

Turn on - Apache optimization - This will add directives to your .htaccess file, which should improve caching and compression.

Link to comment
Share on other sites

  • 8 months later...

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).

 

My prestashop version is: 1.5.6.2 (Default theme)

 

Best regards.

Edited by majority (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...