317: Enabling GZIP compression in OpenCart
OpenCart comes with the ability to enable GZIP compression. GZIP compression helps your pages load faster by compressing them when they are sent to the web browser to be rendered. When using the Google Page Speed tool, they recommend using compression. GZIP compression can be enabled through your OpenCart dashboard.
We do not recommend using compression unless you are on a VPS or dedicated server since enabling GZIP compression increases your server resource usage.
- Log into your OpenCart Dashboard
- Go to System > Settings
- Select your store by clicking “Edit” next to it
- Go to the “Server” Tab
- Go to “Output Compression Level” and set the value between 0-9 (typically 4 – 6 is recommended)
- Click “Save”
If you need further assistance please feel free to ask a question on our support center.
‹Section 41: 318: Using web browser caching in OpenCart
›Section 43: 324: Removing the Product Count to speed up OpenCart
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!
2014-07-05 9:30 am
I kept same above what you said but not working Gzip Compression
thanks & Regards
2014-07-06 1:55 am
How are you testing to see if the Gzip compression has been successfully enabled? As mentioned in our an introduction to Gzip and mod_deflate guide you can use this site:
As also mentioned in that guide you can also enable Gzip compress in your .htaccess file with this:
Please let us know if that works for you.