The Lotus Cars Community banner

1 - 2 of 2 Posts

·
Registered
Joined
·
143 Posts
Discussion Starter #1
Hey Randy,

Have you turned on zlib.output_compression on your php installation? If not, you should. It will greatly reduce the size of the outgoing files for browsers that use HTTP/1.1 and say that they can support zipped'd content. That covers almost all modern browsers, including IE and Mozilla/Netscape.

I'm not sure if you're Linux or Windows, but on Linux, just search for "zlib.output_compression" in /etc/php.ini (which is probably somewhere else on Windows) and set it to the value "On" , like this:

zlib.output_compression = On

And then restart your http server. That should do it. You should notice a significant reduction in outbound bandwidth, probably in the range of 2x to 3x smaller.

Steve
 

·
Registered
Joined
·
143 Posts
Discussion Starter #2
Oh, the big drawback is that your machine will have to have enough free CPU cycles to handle the zilb compression. Is your server machine currently CPU or I/O bound?

Steve
 
1 - 2 of 2 Posts
Top