Skip to content

Optimize WordPress For Heavy Traffic

Following on from Faster WordPress, which went up on Shout a couple of weeks ago, this post explores how to optimise WordPress for high traffic. We’ll take high traffic in a small blog context — 1,000 or so visits in a day, but exactly the same techniques apply to much larger traffic blogs.

The average WordPress theme isn’t optimised. Whilst it may claim to be or may in fact be to an extent, the nature of WordPress themes means they have to be able to fit in any situation and so they are never going to be as well optimised as a theme which has been designed specifically for a single purpose. I’m not saying don’t use an off-the-shelf theme, just you’ll need to customise it in order to get the best performance out of it.

As we go through this post, the methods we’re going to use will get increasingly complicated — start with the first and go as far as you can!

Get a good host

You can do all the optimisation you like, but if your hosting isn’t up to scratch, it’ll have absolutely no use. Avoid over subscribed shared plans on the likes of GoDaddy and HostGator and get a plan that suits the level of traffic you’re likely to get. WPShout is hosted by WPWebHost and is on the equivalent of the Buddy Plan but is still on a server with 164 other sites — something far from ideal. I would, however, recommend WPWebHost. The support is on the whole good and, more importantly, the site stays up the vast majority of the time.

You can see which other sites are on your server with this tool.

Use a caching plugin

I can’t recommend W3 Total Cache enough. Whilst there are other caching plugins are available and they all have their own pros and cons, W3 Total Cache has a couple of extra features like support for a CDN and auto-minifying which make it invaluable. It is worth noting, though, that unless you set it up correctly it will have little or no effect and may even slow your blog down, as this post shows!

Things like the ability to minify and compress your HTML just by turning on the setting are great to have. Have a look at WPShout’s source and see for yourself!

As I mentioned last time, running a CDN is vital and WPShout runs on WPCDN — a service a can thoroughly recommend. Mark Bailey from WPCDN explains the advantages:

A CDN can increase a website’s performance by serving items from the closest possible location to the visitor. The web server would still provide the pages, but images and other larger items would be served from the CDN.

–Mark Bailey, WPCDN

If you, understandably, don’t want to pay for something which isn’t essential for your blog’s existence, have a look at the Free CDN plugin. I’ve no idea what speed boost it’ll give you, if any, so make sure you compare it with your blog’s current loading time.

Get rid of unnecessary plugins

Plugins which have extra Javascript files are a pain because they have a direct impact on the load time of every single page. Whilst you could do what I’ve done on Shout and manually combine the files and then remove the function that adds the JS in the plugin, you could just ask yourself whether you really need the plugin. Michael Martin from ProBlogDesign is currently redesigning PBD and had this to say:

The big thing with WordPress is working out what plugins you really need, and which actually aren’t worth the extra load times.

–Michael Martin

And he’s right! Do you really need a widget on your sidebar that shows the timezone in Australia? Review your plugins and only keep the ones you really need.

Experiment!

Experimentation is the way forward. Try out various combinations or plugins, caching, getting rid of things and the like and you should be able to find something that works for you. Good luck!

Yay! πŸŽ‰ You made it to the end of the article!
Alex Denning

7 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
About Web
June 18, 2011 1:12 am

I’m using Quick Cache plugin for caching my WordPress, and it’s fast.

WPWebHost
April 20, 2011 7:32 am

Hi Alex. WPWebHost is proud to have you as our client.

Elliot
April 11, 2011 6:01 pm

You chose a small handful of brilliant options, which is what I like about this post πŸ™‚ Page speed is an absolute nightmare, eh?

AJ Clarke
April 7, 2011 4:22 pm

It’s strange but I’ve actually had better loading times without the WP Cache program. lol. My site is fairly well optimized to start with though…

I think having a Good Host is what it really comes down too. If you are paying under $10/month for your hosting service you most probably can’t handle “heavy traffic”.

Adam Geralds
April 6, 2011 9:55 am

Thanks Alex for an awesome post. I’ll have to have a look at WPCDN πŸ™‚

Or start the conversation in our Facebook group for WordPress professionals. Find answers, share tips, and get help from other WordPress experts. Join now (it’s free)!

7
0
Would love your thoughts, please comment.x

Most Searched Articles

Best JavaScript Libraries and Frameworks: Try These 14 in 2024

In this post, we look at the best JavaScript libraries and frameworks to try out this year. Why? Well, with JavaScript being available in every web browser, this makes it the most accessible programming language of ...

20 Best Free WordPress Themes for 2024 (Responsive, Mobile-Ready, Beautiful)

If you're looking for only the best free WordPress themes in the market for this year, then you're in the right place. We have more than enough such themes for you right ...

12 Best WordPress Hosting Providers of 2024 Compared and Tested

Looking for the best WordPress hosting that you can actually afford? We did the testing for you. Here are 10+ best hosts on the market ...

Handpicked Articles

How to Make a WordPress Website: Ultimate Guide for All Users – Beginners, Intermediate, Advanced

Many people wonder how to make a WordPress website. They’ve heard about WordPress, its incredible popularity, excellent features and designs, and now they want to join the pack and build a WordPress website of their own. So, where does one get ...

How to Start an Ecommerce Business: Ultimate Guide for 2024

Is this going to be the year you learn how to start an eCommerce business from scratch? You’re certainly in the right place! This guide will give you a roadmap to getting from 0 to a fully functional eCommerce business. ...