Last Updated: February 25, 2016
·
574
· glennfriesen

Enabling Gzip Compression

Gzip compression using php is as easy as adding a single line of code at the beginning of each page.

<?php ob_start("ob_gzhandler"); ?>

Most people don't compress. Always compress. I've noted improvements in page load time across several different domains between 30% and 70% faster; just from installing gZip.