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.