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.
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%!
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!
Hi, i'm David! I've been building websites since 1996. Through my experiences, I have gained a well-rounded knowledge of the design & development of websites. I founded Supadupa Web Design to help others learn from my experiences.Follow @davidburleson