Website care8 min read

How to speed up a slow WordPress site without breaking it

How to speed up WordPress safely: measure first, work on a staging copy, then fix hosting, caching, images, plugins and theme bloat in the right order.

DDawnwire team
Design, web and motion studio in Dubai
A close-up of a stopwatch
Photo: Rawpixel (CC0)

To speed up a WordPress site safely, take a backup, copy the site to a staging area, measure your key pages, then work through the causes in order of impact: hosting and PHP version, page caching, images, plugins, and finally the theme. Test after each change, and only copy the changes to the live site once the staging copy is faster and still works.

Most slow WordPress sites are not slow for one reason. They are slow because of budget hosting, a heavy page builder, years of plugins and a few 4 MB photos, all at once. This order tackles the biggest, safest wins first.

Key takeaways

  • Measure three key pages before changing anything, so you know which change actually helped.
  • Work on a staging copy with a fresh backup; speed tweaks are a common cause of broken menus, forms and checkouts.
  • Hosting and page caching come first, then images, then plugins, then the theme.
  • One well-configured caching tool beats a stack of optimisation plugins that fight each other.

Before you start: backup, staging and a baseline

Every step in this guide can break something, usually a form, a slider or the checkout. So the first job is a full backup of the files and the database, stored somewhere other than your hosting account. Our 3-2-1 backup guide explains what a backup you can actually restore looks like.

Next, make a staging copy: a private duplicate of the site where you can experiment without customers seeing. Many WordPress hosts offer one-click staging in their control panel; otherwise a staging plugin can create one. Keep staging password-protected so search engines do not index it.

Then take a baseline. Run three pages through PageSpeed Insights: the homepage, your most visited service or product page, and the page with your main form. Write down the mobile LCP, INP and CLS for each, plus the server response time. Our Core Web Vitals explainer covers what those numbers mean and which ones Google grades.

Step 1: check your hosting and PHP version

If the server takes more than about a second to start sending the page (shown as server response time, or Time to First Byte), no plugin will rescue it. Budget shared hosting puts many sites on one machine, and when a neighbour gets busy, your site slows down.

First, find the PHP version in your hosting control panel. PHP is the programming language WordPress runs on, and newer versions are faster and still receive security fixes. Check WordPress's own requirements page for the currently recommended version, and switch on staging first, because older plugins sometimes fail on newer PHP. If the site shows an error after the switch, our guide to the WordPress critical error shows how to recover.

Second, compare your plan with what the site does. A brochure site runs happily on modest hosting. A WooCommerce store with logged-in customers, or a site receiving bursts of traffic from ads, often needs managed WordPress hosting with caching built into the server.

Step 2: turn on page caching, once

Without caching, WordPress builds every page from scratch for every visitor: it runs PHP code, queries the database and assembles the page. Page caching saves the finished page and serves copies, which is usually the biggest single gain on a content site.

  • Page cache: stores finished pages. Many hosts provide this at server level; if yours does, you may not need a caching plugin at all.
  • Browser cache: tells returning visitors' browsers to keep images, styles and scripts instead of downloading them again.
  • Object cache: keeps database results in memory using tools such as Redis or Memcached. Most useful for stores, membership sites and busy admin areas.

Never stack two caches

Use one page caching tool, not two. Two caching plugins, or a plugin on top of host caching, cause stale pages, broken carts and bugs that are hard to trace. On WooCommerce, make sure the cart, checkout and account pages are excluded from page caching; good caching tools do this automatically, but check.

Step 3: fix images and video

Images are usually the heaviest part of a page. The common problems are photos uploaded straight from a phone or camera at 4,000 pixels wide, PNG files used for photographs, and sliders that load five full-size images before anyone sees the first.

  • Resize new uploads to roughly twice the width they display at, and no larger.
  • Convert the library to WebP or AVIF with an image plugin or your host's image service.
  • Check that the hero image is not lazy loaded, while everything below the first screen is.
  • Replace embedded YouTube players with a lightweight preview image that loads the player only when clicked.

The full image routine

Formats, export sizes, alt text and content delivery networks are covered step by step in our image optimisation guide, so this guide does not repeat them.

Step 4: audit your plugins

The number of plugins matters less than what each one does. Ten small, well-built plugins can be lighter than one bloated all-in-one tool. What slows sites down is plugins that load scripts on every page, run heavy database queries, or contact outside services on each visit.

On staging, install a diagnostic plugin such as Query Monitor, which shows slow database queries and the plugin responsible. Then work through the list:

  • Delete plugins that are deactivated, or that nobody can explain.
  • Replace plugins that do one tiny job, such as adding a tracking snippet, with a feature your theme or host already has.
  • Look for overlaps: two SEO plugins, two form plugins, two security plugins.
  • Deactivate the heaviest suspects one at a time, retest the baseline pages, and note the difference.
  • Check each remaining plugin has been updated in recent months; abandoned plugins are a speed problem and a security risk.

Step 5: deal with theme and page builder bloat

Multipurpose themes and visual page builders are popular because anyone can build layouts with them, but they often load large style and script files on every page, whether that page uses those features or not. Many builders have a setting to load files only where they are used; turn that on first, on staging.

If the theme itself is the bottleneck, there is no quick switch. Changing theme is a small rebuild: layouts, menus and widgets all need redoing and testing. It is worth it when the site is several years old and slow everywhere, and it is a good moment to ask whether WordPress is still the right fit. Our comparison of WordPress, Webflow and Next.js helps with that decision.

Step 6: clean the database and trim third-party scripts

Over the years the database collects old post revisions, expired temporary data (called transients), spam comments and tables left behind by deleted plugins. A clean-up plugin can remove these, but only run it after a fresh backup, and only on items you understand.

Third-party scripts often cost more than WordPress itself. Chat widgets, tracking pixels, heatmaps, review badges and embedded maps each add downloads and JavaScript. List them all, remove what nobody uses, and set the rest to load after the page is usable.

A content delivery network (CDN) serves images and files from servers close to each visitor. It helps most when your audience is far from your server, for example a Gulf business whose hosting sits in North America.

Speed changes that break sites, and what to test

Most speed disasters come from optimisation settings switched on all at once. Turn them on one by one on staging, and test the things each one is known to break.

Speed changeWhat it can breakTest after
Minify or combine CSS and JavaScriptMenus, sliders, pop-upsOpen every menu and interactive element on a phone
Delay or defer JavaScriptForms, cookie banner, tracking, checkoutSubmit each form and place a test order
Page cachingCarts, logged-in pages, out-of-date pricesAdd to cart, log in and out, change a price
PHP upgradeOlder plugins and theme codeBrowse key pages and check the error log
Image conversionMissing images in emails or old browsersSpot-check pages and order emails
Database clean-upSettings stored by pluginsCheck plugin settings pages and forms

Test the page that earns the money

On a booking site such as the WordPress site we built for Romano's Appliance Repair in Palm Beach County, Florida, the booking form is the page that brings in work, so it is the one to test after every change. Find your equivalent and test it first. When staging is faster and everything works, copy the changes live, clear every cache, and rerun your three baseline pages.

When to get help

If the site is still slow after these steps, the cause is usually the theme, the hosting or custom code, and the fix means deeper work. Run a free website check to see your server response time and page weight in plain words. Our website fixes and care plans start from $49, and every job begins with a backup and a fixed price agreed before any work.

Frequently asked questions

How many plugins is too many for WordPress?

There is no safe number. A site with 30 well-coded plugins can be faster than one with 8 heavy ones. What matters is what each plugin loads and when. Remove anything unused or duplicated, check each remaining plugin is still maintained, and use a tool such as Query Monitor on a staging copy to find the ones that really slow pages down.

Which caching plugin is best for WordPress?

Often the best choice is the one your host recommends, because server-level caching is faster than plugin caching and avoids conflicts. If your host offers none, pick one well-maintained caching plugin and leave its advanced options off until you have tested them on staging. Never run two page caching plugins at the same time.

Will a faster WordPress site rank higher on Google?

It can help, but rarely on its own. Google uses Core Web Vitals in ranking alongside far stronger signals such as relevance and content quality. The surer gain is with visitors: a page that loads quickly on a phone keeps more people on it long enough to call, book or buy.

Why did my WordPress site suddenly get slow?

Sudden slowdowns usually follow a change: a plugin update, a new plugin, a PHP change by your host, a traffic spike, or bots hammering the login page. Check what changed most recently, look at your host's resource usage graphs, and test on a staging copy with recent plugins turned off to find the culprit.

The Dawnwire Agency Deck

Our process, what each service includes, how we price and hand over, and a selection of real client work, in one free deck.

Next step

Havesomethingworthbuilding?

Tell us what you are building. We will come back with a clear scope, a timeline and a price.