Archive for the 'Tech Stuff' Category

03-18-2006

ob_gzhandler

Greetings all,

ob_start(“ob_gzhandler”);

This is probably old news to the majority on here, but basically, I just added that line to the top (N.B. it MUST be before you echo any output) of a script producing 1000 results & saw the resultant filesize drop from 250k to 28k.
Now I don’t care what planet you come from, that’s a fairly good result!!

Interesting links :-
http://uk2.php.net/ob_gzhandler
http://www.whatsmyip.org/mod_gzip_test
My Results…
TTFN
BFG

Posted by BFG 9000 in Tech Stuff | No Comments »