Speed Tip: Enable Gzip Compression in PHP
Anyone who has been creating websites over the past couple of years knows the importance of speed. If your website doesn't load quick enough, your visitors are going to click the back button before they even see the page. So, one of the quickest ways to quickly speed up your website is to enable Gzip compression in PHP.
What is Gzip Compression?
Gzip Compression is like zipping your webpage content before it's sent to the web browser so it transfers quicker. Most modern browsers support gzipping and can easily read gzipped content. Gzipping your web pages can often times speed up the page load up to 60%!
How to Enable Gzip Compression in PHP
This is super easy, just add the following line at the very top of your PHP. If you use a header file of some sort, stick in there:
Thats it! Nothing else needed to be done. Wasn't that easy!
Trust me, you will notice the deifference!