Get the lowdown on GZIP'ING

GZIP basically compress your website page on the server almost like a .rar file or .zip.

It's great to use on big website such as pixel2life or shoutwire as it helps the server alot.
Yet this 'speeding up process' can also harm your server if your not carefull.

Yes TotalDream uses GZIP to speed up our database and such.
Theres a 1-10 compression rate.
Some server cannot handle some rates.
1 being the lowest 10 being the highest.

If your looking into using it, please get some information on your server and see if it can handle a high compression rate such as 9.

Alright here's an example of gzip:

CODE
<?php
ini_set
('zlib.output_compression_level'7);
ob_start("ob_gzhandler");
?>



See the 7, Thats the rate were using for this example, you can use anywhere from 1-10.

Again if you use too much compression it may hurts your server loading time. Varies on your server. Some can handle 10 and some cannot handle much more then 4 or 5.

Add that little snippet of code at the start of your php file and your website will load much quicker!

Sunday May 27, 2007 | http://www.totaldream.org/article/14-get_the_lowdown_on_gzip'ing.html