Black Friday Sale — Up to 80% OFF

Ending in:
32Day
:
02Hour
:
17Min
:
31Sec
Grab Your Deal Today
ShapeKode - Exclusive Marketplace for WordPress
Speed up a WordPress website

A slow site rarely announces itself. Nobody emails to say your homepage took five seconds to load on their phone. They just leave, and you see it later as a bounce rate you can’t explain. If you want to speed up a WordPress website, the good news is that most of the gains come from a handful of boring, fixable things, not from some secret setting.

This guide is the order we actually work in when we need to speed up a WordPress website for a client. We measure first, fix the big things next, and leave the fiddly tweaks for last. You don’t need to be a developer for most of it, though a few steps go smoother if you have access to your hosting panel.

Step 1: Measure before you change anything

It is very easy to spend a weekend “optimising” and end up with a site that is no faster, because the real problem was somewhere you never looked. So before you try to speed up a WordPress website, start with numbers.

Run your homepage and one typical inner page (a blog post or a product) through PageSpeed Insights. Look at the mobile results, not desktop. Then write down three numbers, which Google calls the Core Web Vitals:

  • LCP (Largest Contentful Paint): how long until the main thing on screen, usually the hero image or headline, appears. Aim for 2.5 seconds or less.
  • INP (Interaction to Next Paint): how quickly the page reacts when someone taps or clicks. Under 200 milliseconds is good.
  • CLS (Cumulative Layout Shift): how much the page jumps around while loading. Keep it under 0.1.

Don’t obsess over the single score out of 100. It moves a few points every time you run the test. The three numbers above, and the list of suggestions under them, are what matter. Save a screenshot so you can compare later.

PageSpeed Insights mobile test with a 98 performance score and 100 for accessibility, best practices and SEO
The mobile tab is the one to watch. Here the shapekode.com homepage scores 98 for performance and 100 for accessibility, best practices and SEO.

Why different speed tests give different scores

PageSpeed Insights is not the only tool worth running. We tested the same homepage, on the same day, with two other popular speed tests, and the results tell a slightly different story. That is normal, and it is useful.

GTmetrix speed test of shapekode.com from Seattle with grade B, 77% performance, 2.0s LCP and 0 CLS
GTmetrix, tested from Seattle: grade B, 77% performance, 96% structure, LCP 2.0 seconds, 137 ms total blocking time and zero layout shift.

GTmetrix runs Lighthouse too, but on its own hardware and from a server in Seattle, which is a long way from where our site is hosted. The structure score (96%) says the page is built well. The performance score is lower mostly because every file has to cross an ocean first. The Web Vitals on the right are still healthy: LCP 2.0 seconds, and no layout shift at all.

Pingdom speed test of shapekode.com from London with performance grade B 82 and a 3.00 second load time
Pingdom, tested from London: performance grade B 82, page size 1.0 MB, 36 requests and a 3.00 second load time.

Pingdom measures something different again. Its “load time” waits for every last file on the page, including the countdown timer and images further down, so it will always look slower than the moment a visitor actually sees the page. What is worth reading here is the page size and the request count. 1.0 MB and 36 requests is a lean homepage. If yours shows 5 MB and 150 requests, you know where to start.

The lesson: pick one tool as your main reference, test from a location close to your real visitors, and compare like with like. A different grade from a different tool doesn’t mean something broke.

Step 2: Check the foundation (hosting and PHP)

If the server takes a second and a half just to start sending the page, nothing you do in the theme will fully hide it. In PageSpeed Insights this shows up as a slow “server response time” or a high Time to First Byte.

Two quick checks:

  • PHP version. Go to Tools › Site Health › Info › Server. If you are on anything older than PHP 8.2, ask your host to move you up. Newer PHP versions run WordPress noticeably faster, and it is usually a single click in the hosting panel. Test on a staging copy first if your site uses old plugins.
  • The hosting plan itself. Very cheap shared hosting puts hundreds of sites on one machine. If your server response time is slow even on a simple page with caching turned on, the plan is probably the bottleneck, and no plugin will change that.

Step 3: Turn on page caching to speed up a WordPress website

Without caching, WordPress builds every page from scratch for every visitor: it runs PHP, asks the database for the content, and assembles the HTML. Page caching saves that finished HTML and hands it straight to the next visitor. On most sites this is the single biggest improvement you can make, and it takes ten minutes.

Check with your host first. Many managed hosts already cache at the server level, and adding a second caching plugin on top can cause odd problems, like logged-out visitors seeing stale pages. If your host doesn’t do it, install one well-known caching plugin (only one) and turn on page caching. If you run a shop, make sure the cart, checkout and account pages are excluded. Most caching plugins handle WooCommerce pages automatically, but check.

Step 4: Fix your images (this is where most sites lose)

When we speed up a WordPress website for someone, images are the first place we look. On almost every slow site, they are the heaviest part of the page. A 4000-pixel photo straight from a phone camera, shown in a 600-pixel column, can weigh more than the rest of the page put together.

  • Resize before you upload. Around 2000 pixels wide is plenty for a full-width hero. Most content images need far less.
  • Use WebP or AVIF. WordPress supports both. They are often 25 to 50 percent smaller than a JPEG of similar quality.
  • Pick the right image size in the block. When you insert an image, choose Large or Medium rather than Full Size unless the image really fills the screen.
  • Don’t lazy-load the hero. WordPress lazy-loads images further down the page automatically, which is great. But the first big image people see should load immediately. If a plugin forces lazy loading on everything, your LCP gets worse, not better.
  • Set width and height. Images inserted with the block editor already have them. Images added through custom code or old page builders sometimes don’t, which is a common cause of the page jumping around (CLS).

Step 5: Audit your plugins honestly

The number of plugins matters less than what each one does. Ten small, well-written plugins can be lighter than one that loads its scripts on every page “just in case”.

Go through the list and ask two questions about each plugin: do we still use it, and does it load anything on pages where it isn’t needed? A contact form plugin that adds its CSS and JavaScript to every blog post is a classic example. You can check this without installing anything: open a blog post, right-click, choose Inspect, go to the Network tab and reload the page. The file paths tell you which plugin each stylesheet and script comes from (look for /wp-content/plugins/plugin-name/).

Deactivate and delete what you don’t use. Removing dead weight is one of the cheapest ways to speed up a WordPress website. “Deactivated but kept just in case” is how sites end up with outdated code sitting around.

Step 6: Watch what your page builder adds

Heavy page builders are one of the most common reasons a WordPress site feels slow, especially on phones. They tend to wrap every element in several layers of extra markup and load a large shared stylesheet and script on every page, whether that page uses a slider or not.

The block editor that ships with WordPress produces much leaner pages, and that is a big part of why we build on it. We compared the two approaches in detail in Gutenberg vs Elementor. If you need more design options than the core blocks give you, choose a blocks plugin that loads its files only where its blocks are used. This is how we built ShapeBlock: each block brings its own CSS and JavaScript only on pages that use it, and blocks you never use can be switched off entirely under ShapeBlock › Blocks.

Whatever tool you use to speed up a WordPress website, the test is the same: open a simple page, view the source, and count how many stylesheets and scripts load. If a plain text page pulls in a carousel library, something is loading where it shouldn’t.

Step 7: Be careful with fonts

Custom fonts look great and cost more than people expect. Every weight and style is a separate file: regular, italic, medium, semibold and bold of one family is already five downloads.

  • Use two font families at most, and only the weights you actually use. Trimming fonts is a quiet but reliable way to speed up a WordPress website.
  • Host fonts on your own site rather than loading them from Google’s servers. It saves a connection to another domain and is better for visitor privacy too.
  • Check that your theme and plugins aren’t each loading their own copy of the same font. It happens more often than you’d think.

(In ShapeBlock, loading from Google Fonts is off by default for exactly this reason. You switch it on only if you want it.)

Step 8: Tame third-party scripts

Chat widgets, embedded maps, video players, ad scripts, analytics tags, cookie banners, social feeds. Each one loads code from someone else’s server, and you have no control over how heavy it is. These are often what ruins INP, because they keep the browser busy when a visitor tries to tap something.

A few fixes that work well:

  • Load maps and videos on click. Show a preview image, and load the real map or player only when someone asks for it. The ShapeBlock Google Map block has a Load on Click option for this.
  • Keep embeds off pages that don’t need them. A live chat widget probably belongs on pricing and support pages, not on every blog post.
  • Remove tracking you no longer read. If nobody has opened that heatmap tool in a year, its script is pure cost.

Step 9: Clean up the database

Older sites collect clutter: thousands of post revisions, expired transients, spam comments, and leftover settings from plugins deleted years ago. This matters less than images or caching, but on a big, old site it adds up.

Empty the spam and trash folders, and limit revisions by adding define( 'WP_POST_REVISIONS', 10 ); to wp-config.php. If you use a cleanup plugin, take a full backup first. Database cleanup is one of the few speed tasks that can actually break things if it goes wrong.

Step 10: Add a CDN if your visitors are far away

If your server is in Europe and half your visitors are in Asia, every file has to travel a long way. A CDN keeps copies of your images, CSS and JavaScript on servers around the world, so each visitor downloads them from somewhere nearby. Many hosts include one, and there are free plans available. For a local business whose customers are all in one city, a CDN helps less, so do the earlier steps first if you want to speed up a WordPress website on a budget.

What not to bother with (yet)

Some speed advice online is either outdated or offers tiny gains for real risk. Until the steps above are done, we would skip these when you set out to speed up a WordPress website:

  • Stacking several “all-in-one” speed plugins that each try to minify, combine and defer the same files. They fight each other and break layouts.
  • Combining every CSS and JavaScript file into one. On modern servers this rarely helps and often hurts.
  • Chasing a perfect 100 score. A site that loads in under two seconds on a mid-range phone is already ahead of most of its competitors.

Measure again

Once you’ve worked through the list and done what you can to speed up a WordPress website, run the same two pages through PageSpeed Insights and compare with your screenshot from step one. Then open the site on a real phone over mobile data. The test tools are useful, but how the site feels in your hand is what your visitors actually experience.

For reference, this is the kind of report you want to see at the end. Performance in the 90s, CLS close to zero and a First Contentful Paint well under two seconds. Notice that the Core Web Vitals assessment at the top can say “Not Applicable” for a newer or quieter page. That only means Google hasn’t collected enough visits from real Chrome users yet. The lab scores underneath are still worth reading.

PageSpeed Insights report with a 96 performance score after we speed up a WordPress website
A real PageSpeed Insights report: Performance 96, SEO 100, CLS 0.01 and a 1.3 second First Contentful Paint.

One last tip: speed is not a one-time job. Every new plugin, embed and oversized photo chips away at it. A quick check every couple of months keeps a fast site fast, and it is far easier than having to speed up a WordPress website from scratch again.

Frequently asked questions

What is the quickest way to speed up a WordPress website?

For most sites, the quickest way to speed up a WordPress website is to turn on page caching and fix oversized images. Those two steps alone often cut load time roughly in half.

Do more plugins always make WordPress slower?

Not always. What matters is what each plugin loads and where. One badly built plugin can do more harm than twenty light ones.

Is the block editor faster than a page builder?

Usually, yes. Pages built with blocks have less markup and fewer shared scripts. If you are thinking of switching, our guide to building a WordPress website with Gutenberg is a good place to start.

Does site speed affect SEO?

Yes. Core Web Vitals are part of how Google evaluates page experience. More importantly, slow pages lose visitors before they ever read your content, and no ranking makes up for that.

Mahabub Avatar

7 posts

Leave a Comment

Your email address will not be published. Required fields are marked *