GZIP compression

GZIP compression with Zen Cart

GZIP Compression is a technology that allows your webserver to reduce the size of pages before being transmission from server to browser. This speeds the delivery of web pages.

When to Use It

However, if PHP is already configured on the server with output_buffering enabled, then it is already doing this compression before transmission. This means that if you turn on GZip compression in Zen Cart, you’re doing compression twice, which can actually can slow things down.

To check whether your server’s PHP configuration already does this, go to Admin > Tools > Server/Version Info. Search the page for output_buffering and determine its setting. If it is “On” or a number greater than “0”, leave the Zen Cart GZip setting set to 0.
If it is Off” or “0”, set enable GZIP in Zen Cart.

Another way to check is to type your URL into this website. If it says your domain “IS GZIPPED” then you can leave the setting at 0 in Zen Cart.




Still have questions? No problem! Just head over to the Zen Cart support forum and ask there.
In your post, please include your Zen Cart and PHP versions, and a link to your site.


Last modified April 3, 2020 by Scott C Wilson (a117296).