GZip Compression and osCommerce
GZip Compression and osCommerce
Added by Geoff Ford. January 31, 2004
You may have noticed in the configuration menu in the admin area of your cart the heading "GZip Compression". The fact that the osCommerce Shopping Cart supports GZip Compression doesn't necessarily mean much to most store owners.
In short, turning on GZip compression allows you to compress the file you send to the web browser, where it is decompressed and rendered as normal. Most browsers support this and if the user's browser does not support this the file will not be sent compressed.
The main advantage of turning this feature on is that you will significantly reduce your bandwidth.
I used a GZip Test Tool on the homepage of our standard osCommerce demonstration and it showed that with compression on there was a 86% saving in filesize sent to the browser (28.5kb vs. 3.9kb).
Basically - if your web server supports zlib with PHP and your PHP version is greater than 4.0.4 you are ready to go.
Set it to true!
In short, turning on GZip compression allows you to compress the file you send to the web browser, where it is decompressed and rendered as normal. Most browsers support this and if the user's browser does not support this the file will not be sent compressed.
The main advantage of turning this feature on is that you will significantly reduce your bandwidth.
I used a GZip Test Tool on the homepage of our standard osCommerce demonstration and it showed that with compression on there was a 86% saving in filesize sent to the browser (28.5kb vs. 3.9kb).
Basically - if your web server supports zlib with PHP and your PHP version is greater than 4.0.4 you are ready to go.
Set it to true!
Category(s): Tips, Tools and Help
Permanent Link to GZip Compression and osCommerce
