Adagio
Sat 28th Apr '01, 5:34am
Hi,
I just wanted to ask if you have implemented the compression feature of PHP 4.0.4 into vBulletin.
If yes, great! :)
For those who don't know what it is:
ob_gzhandler() is intended to be used as a callback function for ob_start() to help facilitate sending gz-encoded data to web browsers that support compressed web pages. Before ob_gzhandler() actually sends compressed data, it determines what type of content encoding the browser will accept ("gzip", "deflate" or none at all) and will return it's output accordingly. All browsers are supported since it's up to the browser to send the correct header saying that it accepts compressed web pages
That means, if your browser supports receiving compressed data, you will receive the pages vBulletin creates much faster.
Currently, only IE 5.5 seems to support it.
Of course, it still works with other browsers, but the code won't be compressed then.
The usage is simple - just add this code on the very top:
<?php ob_start("ob_gzhandler"); ?>
I just wanted to ask if you have implemented the compression feature of PHP 4.0.4 into vBulletin.
If yes, great! :)
For those who don't know what it is:
ob_gzhandler() is intended to be used as a callback function for ob_start() to help facilitate sending gz-encoded data to web browsers that support compressed web pages. Before ob_gzhandler() actually sends compressed data, it determines what type of content encoding the browser will accept ("gzip", "deflate" or none at all) and will return it's output accordingly. All browsers are supported since it's up to the browser to send the correct header saying that it accepts compressed web pages
That means, if your browser supports receiving compressed data, you will receive the pages vBulletin creates much faster.
Currently, only IE 5.5 seems to support it.
Of course, it still works with other browsers, but the code won't be compressed then.
The usage is simple - just add this code on the very top:
<?php ob_start("ob_gzhandler"); ?>