[Thesis]: Speed Up Your WordPress Blog

If you use Thesis theme and want to accelerate blog, you can enable Gzip HTML to reduce the file size. You can not install any plugin.

How to Speed Up Your WordPress Blog?

Open custom_function.php file and insert this code into and Save.


/*************************************************/
**Enable Gzip for Thesis by Hutek@hutek.info
***Promote: www.problogtip.com
/*************************************************/
add_action('get_header', 'enable_gzip');
function enable_gzip() {?>
<?php if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?>
<?php
}


The page will load up much about 60%.

Thanks Hutek

Comments

Popular posts from this blog

Giveaway: Google Music Invites

Skype 2.25 and Qik Fliks Come to Windows Phone

Black Friday & Cyber Monday 2015