browsers's tag archives

How to use Gzip to load your site faster in 5 minutes

This tutorial will only examine one particular way of implementing Gzip compression with PHP, but there is another way to accomplish it with Apache if you have administration access to your server. Step 1: Enable zlib compression in php. You can do this many ways, just choose one: * Add a line to your .htaccess file: * Add or change a line in your php.ini file: * Add a line to the top of your PHP scripts before any output: Now that you’ve done that (and particularly...