How To Speed Up Your WordPress Site The Easy Way

Last Updated on

Having a slow website can be bad for a number of reasons.

Sites that take a long time to load are given less favorable treatment by Google and as a result, receive less visitors from search engines.

The second reason, and perhaps the most important reason, is that slow WordPress sites are bad for your user experience. This can result in a high bounce rate.

Google defines bounce rate as:

“A bounce is a single-page session on your site. In Analytics, a bounce is calculated specifically as a session that triggers only a single request to the Analytics server, such as when a user opens a single page on your site and then exits without triggering any other requests to the Analytics server during that session.”

This is all well and good, but speeding up your WordPress website can be difficult. There are lots of popular caching plugins all promising amazing results, while many of them will just break your website.

Well, we’ve saved you the hard work and have given you a simple, easy to follow guide for speeding up your WordPress website the easy way, so you can get your site loading quickly in under 2 seconds.

speed up your WordPress website

Load time vs page speed score

First things first, stop looking at your page speed score, it’s useless!

Every page speed grader has different criteria for scoring a website, usually from 1-100. None of this actually matters. Some of the stuff page speed tests advise will break your website, other stuff is just not possible.

What actually matters is how long your site takes to load. This all Google and your users care about.

Speed up your WordPress site

How to measure WordPress load time

If you’re looking to speed up your WordPress website, the first thing you need to do is figure out how fast your site is.

There are a number of free tools you can use to do this, but not all free tools are created equal.

Pingdom – Winner

Pingdom provide a free page speed tool that provides a simple page speed score for your website, but more importantly, an accurate load time measurement.

Out of the big three page speed tools, I have found Pingdom to be the most reliable. Pingdom provides a reliable score for your website including the load time which is the only metric that matters.

Our website scores between 1.3-1.7 seconds on average in Pingdom, which is pretty good. It’s not quite a 1 second load, but we are constantly growing and expanding our website and maintaining the speed of your website is an ongoing task.

speed up your WorPress site

I recently reduced this site load time from between 4-5 seconds by following the steps laid out later in this guide.

GT Metrix

The second most popular WordPress site speed tool, is GT Metrix. This tool is less accurate than Pingdom but is useful for getting detail on where you could make improvements to your WordPress site.

As you can see, GT Metrix suggests our site load time is 12 seconds, which doesn’t really make sense and after testing our site load time across multiple devices and browsers, is not accurate.

speed up your WordPress site

Google Page Speed Insights

This used to be a really useful tool, but they changed it recently and it is now useless as far as I’m concerned.

After plugging in our website, I was very confused. Check out the below results.

speed up WordPress site

20 second time to interactive? You can see why I question the accuracy of this test. The only reason I would recommend using this tool, is you can get some easy to implement speed improvements by looking at the opportunity section below your score.

Turns out I’m not the only one, read why Google Page Speed doesn’t matter.

How to speed up your WordPress site

Now on to the fun part, speeding up your WordPress website. Just a note, if your score is already around 1-2 seconds, you will likely see small improvements and not huge decreases in load time.

Install WP Rocket

WP Rocket is a WordPress caching and optimisation tool and is the best of its kind on the market. We’ll be using WP Rocket to apply optimisations to speed up your WordPress site. You can purchase the plugin from the WP Rocket website, then install it on your site.

speed up your WorPress site

Back up your site

Before you carry out any caching or optimisation on your website, you should perform a full backup. You can do this using your cPanel, or a tool like ManageWP.

If your live site receives substantial traffic or live customers for ecommerce, I would recommend carrying out your speed optimisation on a Staging environment.

This can be done safely on Staging. You’ll need to disable password protect briefly for the page speed tools to be able to score your site (and then re-enable it after so no one stumbles onto your Staging site).

Speed up your WordPress site

Record a baseline score

Although I’m sure you already have, perform page speed tests across Pingdom, GT Metrix and Google Page Speed Insights (or just Pingdom) and record the score before you start optimising.

Measuring progress

As you follow the below steps, to measure your progress you will need to run Pingdom page speed tests and test your website to make sure nothing breaks.

To do this, open an Incognito browser in Chrome, or I found that clearing cache and cookies on my phone and viewing my website in an Incognito browser after every fix was the most accurate way of doing this.

You may also need to regularly clear the WP Rocket Cache and OP Cache which can be done from WP Rocket > Dashboard. If you have a server cache, that may also need to be flushed.

speed up your WorPress site

Enable mobile cache

We will progress through WP Rocket step by step testing and enabling settings to measure the performance on your site.

The first step is to enable Mobile Cache and if your site uses HTTPS, turn on caching for HTTPS.

speed up your WorPress site

File optimization

Now comes the fun part, speeding up your WordPress website.

Optimising the files on your website can yield significant improvements for load time. To start with, implement the below actions and then test your site.

speed up your WorPress site

speed up your WorPress site

You’ll notice that we haven’t combined or minified Javascript files. The reason for this, is that it with the current site configuration, bugs occur when this is applied.

We recommend that you thoroughly test any setting related to combining files, whether it be CSS or Javascript, before it is pushed live or signed off as working.

Sometimes, it appears as though no breakage has occurred, but you could still be viewing an old cached version of your site. Be certain before you push anything caching and optimisation related live.

Media

For media rich WordPress sites, this section can be an important part of the optimisation process.

You’ll notice that we have turned of Lazy Load for images and videos, again this is because we experienced an issue when enabling it.

The more complex your site, the more care you need to take when applying caching and optimisation settings. For a simple blog with minimal styling and functionality, you should ideally be able to apply all or most settings.

speed up your WorPress site

It’s also important to note that I have disabled WordPress embeds, which can yield a noticeable increase in speed.

Add-ons

Scripts like Google Analytics and the Facebook Pixel should be loaded locally to further speed up your WordPress site.

Tick these two check boxes to shave a small amount off your page load (every little helps).

speed up your WorPress site

Image optimisation

Now that we have optimised the files of our website, it’s time to look at our images. Large high quality images usually have a relatively large filesize and can prevent you from speeding up your WordPress website.

To optimise your images, install Imagify on your WordPress site and follow the instructions to create an account, plugin your API key and then use the bulk optimiser tool.

Disable intensive plugins

Not all plugins are created equal. Some will slow your WordPress website down and suck up all the resources your website needs to run effectively.

For example, Contact Form 7 is an intensive plugin and will affect your load time.

You can use GT Metrix Y Slow results to see which plugin files are CPU intensive and slowing down your website, you could also do some Googling for CPU intensive WordPress plugins.

Use a CDN

Please note that using a CDN requires changing your nameservers. This can break emails and existing connections to your domain. Please check with your developer or host before doing this.

Content delivery networks speed up your WordPress site in a number of ways. They serve your website to visitors from data centers that are local to them (someone in France goes through a French data center and doesn’t have to wait for a server in the UK to respond).

Cloudflare, which is the CDN we would recommend, also offers another layer of caching and some other free tools to shave off precious load time seconds.

You can easily activate the right Cloudflare settings by going to Add-Ons in WP Rocket and connecting Cloudflare to WP Rocket.

Review and refine

Improving your WordPress site speed is an ongoing process and as your site grows it will require ongoing optimisation.

New plugins could cause conflicts with your existing caching configuration for example, or updates to existing plugins or themes.

Remember to focus your efforts on load time and ignore those pesky page speed scores, as how quickly your site loads is all that matters!

Share this post

Share on facebook
Share on google
Share on twitter
Share on linkedin