How to Speed Up WordPress in 7 Easy Steps
Last month, we discussed the importance of implementing a CDN to speed up your site content. Sticking with this theme, let’s take a closer look at how you can improve the performance of your WordPress blog or website.
There are nearly 59 million active WordPress blogs, yielding just over 29 million new posts every month. That’s an unbelievable amount of content. How fast that content loads can be a huge driver in your blog’s success. In fact, a 2011 KISSmetrics study showed that you should expect to see about a 25% abandonment rate after a four second page load delay.
For every second you shave off load times, you’ll see significant improvement in page views and conversions. There are a variety of ways to speed WordPress up, and most of them have to do with minimizing the number of external calls. Here are some of the most effective techniques.
Testing
Technically, testing isn’t going to help you speed up your blog. But it is essential to have a starting point. Testing current load speeds should be your first step. You should continue testing after each change you make. This way, you can track the results to see what’s most effective. This is an area where New Relic comes in handy. Now that you’ve got a baseline, it’s time to start optimizing.
Plugins
While tempting, loading up on WordPress plugins and themes is not a good idea. Plugins and themes require extra calls and that can really slow your blog down. Some plugins are extremely valuable and we’ll recommend a few later in this post. But to keep your site speedy, assess what you have and eliminate anything you don’t need. And for those you do keep, be sure to have the latest version installed. Remember, even having plugins that are deactivated can still slow down your site and leave you open to security vulnerabilities.
Caching
There is probably a lot of static content on your blog that doesn’t need to initiate new server requests every time a visitor returns to your site. Installing a caching plugin will greatly reduce page load times. One of the most recommended plugins is W3 Total Cache. It provides caching options for any type of site and makes it easy to scale WordPress in any hosting environment. For example, it makes adding a CDN to your website plug and play.
Themes
Choosing the right theme or framework is also an important element of blog performance. Going for a more simplistic, minimalist theme makes a big difference. The themes that offer the best performance usually have the fewest images, a limited number of additional features and a CSS-based design. There are plenty of options that fit the bill and still be visually appealing, so you shouldn’t have to sacrifice style for simplicity.
Database
Optimizing your database is another easy, but effective, way to ramp up performance. The first step is regularly deleting spam comments and post revisions. WordPress saves each change as a separate revision in your database. This is great if you need to revert to a previous version, but it can also really slow you down. This is another area where plugins are helpful. Try installing Revision Control, or if you need more comprehensive database optimization, try the WP-DBManager plugin as well.
Images
There are several ways to speed up your blog by optimizing images. Start with the avatars. Most blogs use Gravatar to automatically display avatars in the comments — but a lot of users stick with the default silhouette avatar. Set these to “blank” and you won’t need to make pointless external calls for all those default avatars.
Next, make sure you choose the right format for your images. Simpler images that don’t use a wide spectrum of colors should generally be saved as PNG files, which are smaller and load faster. For photographs or more complex images, stick with JPEG. You can also automatically reduce the size of your images as you upload them with the WP-Smush.it plugin. Regardless of the formats you use, two of the best desktop / web tools to use to make your images as small as possible are ImageOptim and JPEGmini. They will typically do an even better job than most plugins. Also note that WordPress 3.5 now supports ImageMagick. If your host has it installed, that means that the thumbnail images that your theme may generate will look better and have smaller file sizes. Talk to your host about how to get the most of this new functionality.
If you use a lot of images in your posts, try the lazy load technique. With the the Lazy Load plugin, images don’t load until they are actually viewable to the user. This can save a ton on loading time for longer posts or instances where the user doesn’t scroll all the way down.
Hosting
If you’re still not getting the performance you like after trying these tips, it might be time to consider a new hosting provider. Even if you’re just starting out, it’s always a good idea to plan for the traffic ahead. There are plenty of reliable shared hosting options out there. Spend some time looking for a premium hosting service that’s dedicated to optimizing WordPress sites. Don’t just look for storage space. Make sure to factor in other important criteria like bandwidth, processor speed, number of databases, and which version of PHP / MySQL they’re using.
Conclusion
Ultimately, it doesn’t take a lot of effort or technical knowhow to speed up your WordPress blog. Give these techniques a try and don’t forget to test your site’s performance as you go. Have any WordPress optimization tips of your own? Share yours in the comments below.
Sign up here. It's free, so why not?
Great article.. Perfect for covering the basics. Although, mosts hosts these day will not let you use various plugins like wp-dbmanager, smush.it or even some cache programs anymore. Truely optimizing WordPress for speed and scalability is a completely different process. One that most general users won’t even know how to do. Thats why it’s ashame we have so many hosting companies claiming to offer optimized WordPress hosting when in fact, they do not… They don’t even use any of the new software technology available! Obviously, you can’t have a web server configure itself for cPanel and then claim it’s optimized for WordPress!..
Posted: 6 March 2013 at 11:22 am by Chris
There’s a new tool for radical compression of PNG files for web
http://compresspng.com
Posted: 8 March 2013 at 12:40 am by Martin
Thankyou newrelic
Posted: 27 March 2013 at 12:15 am by NASIL YAPICAM TR
Aghhh! cannot speed up my blog without paying for it! Thanks for the tips but how do I do it without paying for premium themes? I use the free version of wordpress.
Posted: 27 March 2013 at 4:59 am by Chai
The plugin W3 total cache doesn’t work with the 3.5.1 version of WordPress as they say also on the plugin page, I’ll try the QUick Cache plugin http://wordpress.org/extend/plugins/quick-cache/
Willie Jackson Reply:
March 27th, 2013 at 9:15 pm
Hi Gaia-
W3TC works just fine with the latest version of WordPress, the reports of it being broken are from customers who hastily install it and generally enable all options without understand the implications of their actions.
As of the time of this comment, there are 145 reports of it being broken. Put this number in perspective.
Let me know if you need help (we make W3TC): wjackson at w3-edge dot com
Posted: 27 March 2013 at 7:24 am by Gaia
I had a speed issue with Dreamhost, switched over to WP Engine and made a world of a difference. More expensive, but you get what you pay for.
Posted: 27 March 2013 at 8:59 am by Matt
Great article thanks. I like wp total cache. I also found the gzip compressor plugin saved my life recently for a slow loading client site.
Dani
Posted: 27 March 2013 at 4:00 pm by Danielle Spinks
Amazing article, I really thanks for my heart. This article is very useful for all webmaster who are having rich media site like mine. Flash game site, wallpaper gallery etc. Now I am just confused about cache plugin which one is better?
1) W3 Total cache
2) WP Super Cache
3) Quick Cache
Which one and why??
Posted: 11 April 2013 at 12:04 pm by Jaimin Thakkar
At this time it seems like WordPress is the preferred blogging platform available right now.
(from what I’ve read) Is that what you’re using
on your blog?
Leigh Shevchik Reply:
April 17th, 2013 at 2:45 pm
Yes, it’s the platform we use to run our blog.
Posted: 17 April 2013 at 12:12 am by Create an online form