[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(); ?>

The page will load up much about 60%.

Thanks Hutek
Share on Google Plus

About Hung Nguyen

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment


Post a Comment