Episode # 1 – A Complete Guide to Optimize WordPress
July 6, 2013 |
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
- Are afraid of “Your Hosting Account Has Been Suspended” message.
- Can’t afford a $40/month VPS hosting invoice bill (instead of a $5/month of shared hosting)?
- Are sick with those numerous WordPress optimization posts which just recommends you to use WP super cache, total cache or whatever cache?
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.
: Are you kidding? You itself had wrote about how important a ‘related posts’ plugin is, from SEO and readers point of view.
: For readers, use some other 3rd party related posts plugin like LinkWithin
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.
: 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?
- You do not need SEO plugins if your theme has enough inbuilt SEO features (eg: Genesis, Thesis etc.).
- You do not need a ‘popular posts plugin’ while you can use Facebook recommendations widget.
- You do not need a ‘permalink redirect plugin’ if you haven’t changed your permalinks.
- You do not need a ‘theme preview plugin’ even after changing your theme.
- You do not need a ‘WordPress backup plugin’ if you are not scheduling a backup.
: 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.
: 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 🙂