Log in

View Full Version : Question about Gzip


s o r o k a
05-07-2002, 11:59 AM
im wondering, what is the differences of gzip compression levels.

what are the advantages/disadvantages if compressing vbulletin @ a rate of 8-10 rather than 1-2?

will it use less bandwidth? how much less? put more strein on server?

s o r o k a
05-07-2002, 10:18 PM
anyone know the answer to this?

JulianD
05-08-2002, 06:23 AM
There was a similiar thread about this on vbulletin.com...

I think it doesn't make any sense to put gzip level to 9. I have mine set to 4 and it works perfectly.

Just start to play with different values, and go to http://leknor.com/code/gziped.php and check out how your page size changes...

DWZ
05-08-2002, 06:32 AM
It has said to keep it at level 1. This will make your pages a lot smaller, whilst puting little/no extra effort on the server.

Anything more then level 1 becomes too hard for your server, server loads will go way up..

Jim_2CPU
05-09-2002, 06:46 AM
Also be mindful whether or not your server has mod_gzip compiled directly into apache.

If this is the case, you can disable the php-based gzip feature in vbulletin all together and save yourself some processor cycles.

You can check by telnetting to your webserver on port 80 and:

HEAD / HTTP 1.0
GET <enter>
<enter>

It'll print out something along the lines of this if you're dealing with a unix/apache box.

Server: Apache/1.3.24 (Unix) mod_gzip/1.3.19.1a PHP/4.1.2

FYI