For months now, I’ve been tweaking my blog excessively all in a bid to find the right theme and setting that would make my blog a reader’s delight in terms of content and speed.
After reading Best Practices for Speeding Up Your Web Site and installing Firefox Add-on YSlow, I discovered my blog was just absolutely slow coming in at a Grade F evaluation by this add-on and that got me on a quest to drastically decrease my blog’s loading time.
For about a week I researched the greatest tweaks to a faster wordpress blog and finally managed to get my blog up to a Grade B/C.
DISCLAIMER This tutorial is provided as it is. I shall not be held responsible in any way should you encounter any problem whatsoever along the way. Use this at your own discretion. It worked EXCELLENTLY well for me and should do the same for you hopefully!
So here are my are my Top 7 Tweaks To A Faster WordPress Blog
- Deactivate or better still Delete All Unused Plug-ins: Word around the net has it that these plug-ins though no activated impact on server load. I really don’t know how true that is.
- Try and use less plug-ins by looking for alternatives that could be hardcoded into strategic locations of your theme’s template. Check out SOB’s Top 5 WordPress Plug-in Alternatives: Reduce Server Load & Site Loading Time.
- Optimize your theme’s template by getting rid of unnecessary PHP tags because some of them just lead to unnecessary queries on your server. The following tags which can be found in your theme’s header.php, sidebar.php or footer.php can be hardcoded into the template thereby reducing server load. Here’s a simple way of doing this. Open your blog’s home page in Firefox. When it’s done loading, right-click on it and select view page source. This immediately pops up a page that shows you the html of your blog’s home page. Simply open your theme editor and start replacing the php tags above with the urls that have taken their place in the page source view. For more information check out Problog Design’s posts 13 Tags To Delete From Your WordPress Theme & 10 Ways To Speed Up Your WordPress Blog and also Yoast’s Speed Up WordPress.
- Optimize your database by getting rid of accumulated junk in your database. Yoast’s Optimize DB plug-in and Ruhani Rabin’s WP-Optimize get the job done in no time.
- Use a cache plug-in. What this plug-in does is to cache your blog pages as html pages in order to increase the response speed and minimize the server load. Once a request is made for a page on your site, the cache engine is called by WordPress. It checks if the html for this request is in cache and is still valid. If so the html page is returned and everything from database connection to queries and loading of plug-ins are halted. So far so good there are 3 Cache plug-ins that look quite promising. They are WP-Super Cache, Hyper Cache and 1 Blog Cacher. Evaluate them @ your risk and make a choice.
- Optimize your style sheet @ Clean CSS. It sure did get rid of the junk in my style.css and even reduced the size.
ExpiresDefault “access plus 1 seconds”
ExpiresByType text/html “access plus 1 seconds”
ExpiresByType image/gif “access plus 2592000 seconds”
ExpiresByType image/jpeg “access plus 2592000 seconds”
ExpiresByType image/png “access plus 2592000 seconds”
ExpiresByType text/css “access plus 604800 seconds”
Header set Cache-Control “max-age=2592000, public”
Header set Cache-Control “max-age=604800, public”
Header set Cache-Control “max-age=216000, private”
Header set Cache-Control “max-age=216000, public, must-revalidate”
Header set Cache-Control “max-age=1, private, must-revalidate”
Header unset ETag
Header unset Last-Modified
You can get more info @ SamAxes Blog
That’s pretty much how I got my blog up to a Grade B/C. Also check out Earners Blog’s Diggproof Your WordPress.
I hope my Top 7 Tweaks To A Faster WordPress Blog works wonders for your blog as well.
Have you had better results using other methods? Do feel free to share with us and also share this post with your friends Via Twitter, Digg and other bookmarking sites.