[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
[Thesis]: Speed Up Your WordPress Blog [Thesis]: Speed Up Your WordPress Blog Reviewed by Chiến Binh Sao Vàng on Monday, May 03, 2010 Rating: 5

No comments:


Powered by Blogger.