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.
Written by Glenn Friesen
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#