Recently, we have been observing that many of the clients who runs a WordPress based websites causing high CPU load, and when we further investigate, we found that some of those blogs were even newly started ones for a few weeks and when we discussed the matte with clients, clients were simply unable to accept the issue based on the argument that, “I have just installed it a few weeks back & I hardly have a good traffic then HOW?”. So, we have to further elaborate them by showing them how badly coded / corrupted plugins were they using which was causing the issue.
So, we have complied a complete and easy to understand tutorial, “A Complete Guide to Optimize WordPress” based on a number of Episodes.
This is the first Episode of the tutorial and it is dedicated to all those users, who;
Remove Related Posts Plugin
That is so far the best thing We observe to reduce the hosting resources. You may wonder how related posts eat up so much resources. Here is why: Each time a post loads, your related posts plugin will go through all of your tags and categories to find the most relevant posts. You can imagine the number of requests your web hosting handles when ten posts loads at the same time. So, just remove your related posts plugin.
Q : Are you kidding? You itself had wrote about how important a ‘related posts’ plugin is, from SEO and readers point of view.
Ans: For readers, use some other 3rd party related posts plugin like LinkWithin, Dhiti or whatever. Forget about SEO (just make an archives page and use random posts in the sidebar to make sure your posts are well linked). After all, long living of your blog is more important huh?
Avoid Typical Visitor Stats Plugins
Plugins like Statpress contributes the major resource usage and is thus to be taken care of. They tracks and analyzes each visits and create database tables for the same. For example, when a visitor arrive, they track and save their location, referrer, search keyword, visited pages and much more.
Solution: Use either Google Analytics or WordPress Jetpack plugin. Both does not eat up our server resources.
Update, Update and Update
Update WordPress. Update plugins. Update themes.
Updates are for improvements and fixing of bugs. Do not hesitate to update any stuff you use.
More Plugins = More Resources = More Headache
How many plugins have you installed right now? Do you really need those plugins?
Remember: Each plugin you remove reduces that much of PHP/database calls.
Use W3 Total Cache
Not any other cache plugins. We happened to do a small experiment on cache plugins and W3 total cache won the game.
Leave CSS compression, Object cache and all those hassles to this plugin. It’ll manage.
Note: Do not mess up with settings. Make sure you know how to configure the plugin.
Outsource your Theme’s Images
It’ll be like using a CDN or Amazon S3 without costing you a penny. The change will be dramatic; and It is not so difficult as you think.
Just upload theme images to flickr or blogger (that’s my old method to upload images with blogspot blogs) and use those image URLs to replace theme images.
Use a Good Theme
Good coder keep bugs out and optimizes the theme to the maximum. Get a good theme.
This is all up for now ;). The more stuff will be posted in the next episode 🙂