Speed up your website with Zlib

Having your website load as quickly as possible is crucial to make sure that you don’t scare your visitors away and recently even search engines are starting to rank your site based on its load time.

One way in which you can decrease the load time on your website is to enable zlib or gzip on your server.

If you have access to your php.ini you can enable zlib for all the pages/sites running on your server by changing the following values in your php.ini file to look like this:


If your host does not allow you to access your php.ini file, you can still enable zlib by adding the following to your .htaccess file.

php_flag zlib.output_compression on
php_value zlib.output_compression_level 1