PHP Compressing Output

Recent browsers support compressing the text of web pages; the server sends compressed text and the browser decompresses it. To automatically compress your web page, wrap it like this: ob_start(‘ob_gzhandler’); The built-in ob_gzhandler() function can be used as the callback for a call to ob_start(). It compresses the buffered page according to the Accept-Encoding header … Read more