Very simple way to use GZip for your blog template

Page Load time is very important factor for getting a good traffic and quality visitors. Many of us knows about GZip but for them who don’t know what is GZip; It is a compression tool for your webpage of blog page which will compress the output of the page and reduce the time taken for opening.

Follow the below mentioned steps to use GZip:

  • WordPress users, add the code mentioned below at the start of the Index.php

<?php
ob_start(“ob_gzhandler”);
?>

  • At the end of the index.php, add the code mentioned below:

<?php
ob_flush();
?>

You are done. Now the output of the home page of your blog will be compressed and that’s why it will get loaded in very less time.

To know more about the Page Load Time, kindly refer my article “How to increase the page loading speed of websites or blogs“.

Enjoy the traffic.

Sanjeev Mishra is a professional blogger and an Internet Marketing Consultant based in India. He has built the Internet Techies to provide you updates in technology and web application area.
  • http://freetemplate-ajah.blogspot.com ireng_ajah

    How to implemet with Blogger (blogspot)??