/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// METHOD 1: Add a line to your .htaccess file: // php_flag zlib.output_compression On // METHOD 2: Add or change a line in your php.ini file: // zlib.output_compression = On // METHOD 3: Add a line to the top of your PHP scripts before any output:
URL: http://blog.jc21.com/2007-02-08/how-to-use-gzip-to-load-your-site-faster/