Amit Bhawani Blog

Stay Updated!

Powered by Genesis

You are here: Home / Wordpress Guide / Speed Up Wordpress Blogs by PHP GZip Compression

Speed Up WordPress Blogs by PHP GZip Compression

February 24, 2010 by Chetan Bhawani

WordPress Blogs are a excellent blogging CMS and is currently used by millions of Blogger’s all around the world. Now Google is talking more about speeding the web, which means that Google expects that your website is faster and quick loading and this can lead to better rankings in the Search Engine. Before you start working and implementing this quick tip, i would recommend you to check the website loading time so that you can compare the results at the end and know how much loading time you have saved.

Now before using this tweak the loading report shown the following information.

Website information :
Total loading time: 7.5 seconds
Total objects: 42 (297 KB)
External objects: 14 (61.7 KB)

Next you need to edit the header.php file of your WordPress theme files and add the following code in the very beginning of all the codes listed there.

<? ob_start("ob_gzhandler"); ?>

Save the template file and delete the wp cache files, to check out the changes. Next run the same loading time testing tool and check out the report.

Website information :
Total loading time: 4.8 seconds
Total objects: 42 (297 KB)
External objects: 14 (61.7 KB)

You can clearly see that the loading time is reduced from 7.5 seconds to 4.8 seconds. If you try this on your main blog, you will see excellent results in terms of speed and loading time. A simple tweak but very useful for bloggers. The 3 seconds approximate saved is quite useful because if you calculate the total time saved for your visitors, this can mean a lot.

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook

Related

About

My name is Amit Bhawani and here I like to share my internet/tech experience with my online readers. You can follow me on Twitter, Facebook & Instagram at @AmitBhawani I am also the Editor-in-Chief of PhoneRadar & Master Gadgets

Timeline

Check out Just EV Tweets by @amitbhawani

Recommended To Read

  • How to Find your WiFi Signal Strength & Dead spots in your Home – Best Apps
  • The Wuhan Corona Virus Effect in India – How to Stay Safe
  • This Blogger Lost 25Kgs with this Secret Strategy that Includes a Fitness Tracker
  • Making Money on YouTube, MCN, Useful Tools, Tips & Success Stories
  • The #JaguarPerformance Experience that was Mind Blowing