Making WordPress run faster isn’t something that’s new — it’s something that has been discussed on WPShout before — but ever since it became a factor in Google’s algorithm a while ago, people have become concerned about it. To my mind, it’s something you should always be concerned about; making your site speedy is vital in ensuring visitors stay on your site for as long as possible.
In this post we’ll look at some ways of making WordPress faster. As a bit of an experiment, I’m using a load of screencasts in the place of writing – let me know your thoughts in the comments.
Test your speed
As the screencast shows, if you’re getting a lot of stuff off the server or using a lot of HTTP requests, to use the proper term, your blog is going to take longer to load.
Cut the number of requests you make
So we’ve established that making lots of requests is going to make your blog slow, but how can we reduce the number of requests? Combine and minify! Google’s minify is a handy bit of PHP which you can install on your site and will combine all your CSS and JS into two files and then compress the files to give you two tiny files!
Follow the instructions on the minify site to install minify and then see the screencast below to see how you can combine all your files into one.
Images are often the big culprit: you need them but they take up huge amounts of space! Images can be optimised though, as this next video shows.
Running a CDN
We’ve established that having fewer, smaller files is a good thing. But what if the problem is caused by these files downloading slowly? In that case, you’ll want something called a CDN, or content delivery network. It’s essentially a way of distributing your files around the globe to make them load faster. WPShout runs WPCDN for all its images and it does make a difference; I’d recommend you check them out.
A post on WPQuestions inspired this post. Someone was looking for suggestions as to why their site was running slow and the answers were impressive! Chris Bavota had some good optimisation tips and some other folks followed up with some
Want More Like This?
Join our mailing list and you'll get weekly WordPress tutorials, plus news and tools from around WordPress. You'll also get a free five-day mini-course about the core concepts in WordPress—and a year of free hosting from our partner InMotion Hosting!