Page 1 of 1
Output Compression
Posted: Sat Sep 03, 2011 7:30 pm
by mattappleton
Hello,
Just wondering what the best setting is for the "Output Compression" option in settings? I have had it set at around 6 but wanted to know what the optimum options would be!
Thanks.
Re: Output Compression
Posted: Sat Sep 03, 2011 11:11 pm
by Qphoria
I think 4 is pretty optimum. Just be aware that if compression is enabled, and there is a php error, it usually results in a blank page. So if you get a blank page, disable the compression, then reload the page to see the actual error.
Re: Output Compression
Posted: Sun Sep 04, 2011 10:43 am
by ccM
Hey Q can you tell me how this type of compression is different to using mod_deflate? Would you still get a blank page using mod_deflate in the case of a php error.
Thanks

Re: Output Compression
Posted: Tue Sep 13, 2011 5:48 am
by CamboKev
Hi there
I have just enbabled gzip level 4 as advised, thanks! I've found this great Chrome add-on called YSlow (Yahoo, not Google for a change, who wouldda thunk it).
When I run it I get the same report as before enabling GZIP. I tried deleting my browser cache, but no luck.
Here's the YSlow report. I've asked my host and they have asked me, "Do you have any sort of server-side caching configured in opencart?" Does OC enable server-side cache (other than the image files which I can see)? If so can someone please point me in the right direction of how to clear this.
Mucho gratis Opencarters
YSlows report on
www.vintageheirloom.com
Grade F on Compress components with gzip
There are 10 plain text components that should be sent compressed
http://www.vintageheirloom.com/catalog/ ... -1.3.4.css
http://www.vintageheirloom.com/catalog/ ... .cookie.js
http://www.vintageheirloom.com/catalog/ ... .4.pack.js
http://www.vintageheirloom.com/catalog/ ... /common.js
http://www.vintageheirloom.com/catalog/ ... er.pack.js
http://www.vintageheirloom.com/catalog/ ... 6.1.min.js
http://www.vintageheirloom.com/catalog/ ... tom.min.js
http://www.vintageheirloom.com/catalog/ ... esheet.css
http://www.vintageheirloom.com/catalog/ ... deshow.css
http://www.vintageheirloom.com/catalog/ ... custom.css