How to improve WordPress speed
When it comes to websites, speed matters. The time it takes your WordPress site to load, directly influences how successful it will be. According to a survey done by Akamai, roughly 80% of customers will avoid shopping at sites that don’t load within two seconds.
Importantly website performance also influences your rankings in search engines and whether they are even likely to be indexed at all. Google’s John Mueller confirmed this on a Google Webmaster Help thread, stating a specific period of time as being too slow for GoogleBot to crawl. The time… you guessed it, 2 seconds.
Does your site pass the 2 second test?
I’ve suggested some techniques below to optimise your WordPress site. Before you review I recommend you use a service such as YSlow, Google PageSpeed Insights, Pingdom Tools or GTMetrix to see how your site is currently performing and how quickly it loads.
1. Review your plugins
I’ll let you into a secret; I like to test WordPress plugins to determine their usefulness. The problem is I often forget to delete them afterwards! You might be guilty of this too, even if you’re not you should still regularly review your plugins and remove any that are not needed.
The more plugins you have installed, the more resource they use and the slower your site will be. It’s a bit like a computer, it’s quick and responsive when it’s new but the more software you install on it, the further performance degrades.
To combat this issue I highly recommend you use a plugin called P3. It will show you the load impact of each plugin that you have installed. Remove any plugins that are having a detrimental effect that you can live without.
2. Optimise your images
High-res images that are unnecessarily large in file size can dramatically increase page load times. This can be resolved by compressing the images without compromising on quality – it’s a no brainer!
Plugins to consider
By minifying these files through a variety of techniques, we are able to reduce the size and therefore the time it takes the user’s browser to download them.
Why do we need to combine them as well? Well modern web browsers only support on average 6 simultaneous downloads per domain, anything over this is queued. So if you have a page that serves more than 6 files, combining them will make it load quicker.
Plugins to consider
4. Combine images used site-wide
Only images that are used on every page or regularly throughout your site should be combined. Otherwise you risk increasing page load times, by downloading images that would not have been ordinarily.
Making the sprites is easy: a service like CSS Sprite Generator will do it for you. Deploying the images is a little more complex and requires knowledge of CSS and HTML.
5. Use a CDN
A CDN (Content Delivery Network) is a global network of servers that delivers content. The benefit of a CDN is that it serves the content from the server closest to you – if you live in the London a CDN server in London will be used, Tokyo, a CDN server in Tokyo… you get the idea!
If you have a global audience you should definitely consider using a CDN, in order to help deliver your content quicker and help with your page load speeds.
Another benefit to a CDN is that it helps alleviate strain from your hosting environment by reducing the number of HTTP requests it has to process – it may also help you get over the simultaneous downloads per domain issue (see step 3.).
All in all using a CDN to deliver static content usually has positive effects on page load times, try it for yourself.
Did you know…
CloudFlare can be added for FREE* with all our hosting plans, which includes a dynamic content caching system called Railgun (normally $200 per month from CloudFlare directly).
* The CloudFlare basic package will be suitable for most users and is free of charge. We can also include Railgun web optimisation within the free account due to our partnership with CloudFlare. For enhanced features such as SSL, real time analytics, DDOS protection and web application firewall a paid account will be required as detailed here: https://www.cloudflare.com/plans
6. Use a cache plugin
WordPress is great at serving dynamic content, anything from a wiki to a blog to an e-commerce store.
This is where caching can help. Caching means that your webpages (articles, posts, reviews etc.) are no longer served or accessed from the server database. Your visitors are served a fixed HTML file, which is faster, thanks to the lower number of requests from the server.
Plugins to consider
If you have the time, patience and a little know-how using the above techniques can significantly improve your page load times.
At Clook we have developed and refined our WordPress optimisations over a long period of time. We use several other techniques in addition to those discussed above and make use of Varnish, Memcached and Pound, which adds several layers of complexity but significantly improves page load speeds. If you’d like to know more just get in touch.
What step improved your site speed the most? Do you use any other optimisation techniques? Let us know in the comments section below.
Will’s our technical sales guy from the hills of Rossendale. In his spare time he can be found designing and building websites, or doing a spot of DIY!