All articles · Performance

How to Speed Up a Slow WordPress Site: Fixes in Order of Impact

Cover with the article title next to a speedometer pointing to fast, in blue on a dark background

WordPress runs a large share of the web, and “my WordPress site is slow” is one of the most common complaints we see in scan reports. The good news is that the causes repeat. A handful of fixes, done in the right order, take most sites from sluggish to fast without a rebuild.

The order matters. Installing an image optimiser does little if the server needs two seconds to build every page, and a caching plugin can’t help much if a page builder ships three megabytes of JavaScript. Work down this list and measure after each step.

If your site isn’t on WordPress, the general version of this list is Why Is My Website Slow?.

Step 0: Measure, and write the numbers down

Run a free scan of the home page and of one typical inner page (a post, a product). Note:

  • Time to First Byte (TTFB): how long the server takes to start answering. Over 0.8 seconds points to hosting, PHP or missing page caching. See time to first byte.
  • Largest Contentful Paint (LCP): when the main image or heading appears. Over 2.5 seconds usually means heavy images or render-blocking files.
  • Total Blocking Time (TBT) and INP: how long scripts keep the page from responding. High values point to plugins and page builders.
  • Page weight and request count: the total the browser downloads.

If the report has real-user data from Chrome, trust it over the lab test: it is what your visitors actually experience. Lighthouse versus real users explains why the two differ.

Step 1: Hosting and PHP version

Every uncached WordPress page is built by PHP, querying the database, on every request. On cheap shared hosting with dozens of busy neighbours, that alone can take one to three seconds.

  • Check the PHP version under Tools → Site Health → Info → Server. Each PHP release has been faster than the last, and old ones no longer get security fixes. Run a currently supported version (8.3 or newer at the time of writing), after testing your plugins on a staging copy.
  • Ask your host about OPcache (it should be on) and about the PHP memory limit.
  • Look at TTFB with caching off. If a logged-in admin page takes several seconds to start, the server itself is slow, and no plugin will fully hide that. Managed WordPress hosting or a small VPS often fixes more than everything below combined.

Step 2: Page caching

Page caching saves the finished HTML of a page and serves that copy to the next visitor, so PHP and the database aren’t involved at all. It is the single biggest win for most sites.

  • Many hosts include server-level caching; turn it on in the hosting panel first.
  • Otherwise use one well-maintained caching plugin. Use only one: two caching plugins fight each other and break pages.
  • Exclude the cart, checkout and account pages on WooCommerce sites; good plugins do this by default.
  • Check it works: load a page twice while logged out. The second load should start answering in well under half a second.

Step 3: Plugins and page builders

Every active plugin can add PHP work on each request and CSS or JavaScript to each page, whether the page uses it or not. Sliders, social feeds, chat widgets, form builders and all-in-one page builders are the usual heavyweights.

  • Remove what you don’t use. Deactivated plugins cost no speed, but they are still a security risk if outdated, so delete them.
  • Find the expensive ones. The free Query Monitor plugin shows the database queries, PHP time and scripts each plugin adds on a page. Deactivating plugins one by one on a staging copy and re-measuring works too.
  • Replace heavy plugins with lighter ones, or with a few lines of code for simple jobs like adding a tracking snippet.
  • Page builders can add a lot of markup and script. If yours does, check its performance settings (many can load assets only where used), or build new pages with the block editor.

Our WordPress Detector lists the plugins visible from outside and flags outdated versions, which is a quick inventory to start from.

Step 4: Images

Images are usually the largest part of a page.

  • Resize before uploading. A 4000-pixel photo displayed at 800 pixels wastes most of its bytes. WordPress creates smaller sizes and serves them with srcset, but only if the theme uses them.
  • Use modern formats. WordPress supports WebP uploads since 5.8 and AVIF since 6.5. An optimisation plugin or your CDN can convert existing images.
  • Don’t lazy-load the main image. WordPress lazy-loads images by default and, since 6.3, adds fetchpriority="high" to the image it thinks is the largest at the top. If your theme or a plugin forces lazy loading on the hero image, LCP gets worse. See image delivery and the LCP image post.
  • Give images dimensions so the layout doesn’t jump as they load.

Step 5: CSS, JavaScript and fonts

  • Defer non-critical JavaScript and avoid render-blocking CSS in the <head>. Many caching and optimisation plugins do this, but test carefully: aggressive “combine and delay everything” settings break menus and forms.
  • Unload assets where they aren’t needed. A contact form’s scripts don’t belong on every page.
  • Limit web fonts to the weights you use, host them yourself, and use font-display: swap. See web fonts without layout shift.
  • Count third-party scripts: analytics, chat, ads, heatmaps and social embeds often cost more than WordPress itself. Our third-party code guide shows how to judge each one.

Step 6: The database and background work

  • Autoloaded options. Plugins store settings that WordPress loads on every request. Leftovers from removed plugins can grow to megabytes. Recent versions of Site Health warn when the autoloaded total gets large.
  • Revisions, spam comments and expired transients pile up over the years. Clean them with a maintenance plugin, and limit revisions with define('WP_POST_REVISIONS', 10); in wp-config.php.
  • WP-Cron runs scheduled tasks during visitor requests. On busy sites, set define('DISABLE_WP_CRON', true); and run wp cron event run --due-now from a real server cron job every few minutes instead.
  • Object caching with Redis or Memcached helps logged-in users, WooCommerce and membership sites that can’t use page caching for everything. Your host has to support it.

Step 7: A CDN and modern delivery

A content delivery network serves your images, CSS and JavaScript from a location near each visitor and can cache whole pages at the edge.

  • Turn on compression (Brotli or gzip) and HTTP/2 or HTTP/3; most CDNs do both.
  • Give static files long cache lifetimes, since WordPress adds version numbers to their URLs. See browser caching.
  • Recent WordPress versions (6.8 and later) can prefetch or prerender the next page when a visitor is about to click a link, which makes navigation feel instant on supporting browsers.

A quick checklist

  1. Measure TTFB, LCP, TBT and page weight on two pages.
  2. Supported PHP version, OPcache on, hosting that answers quickly.
  3. One page cache, verified working.
  4. Delete unused plugins; find and replace the heaviest.
  5. Resized, modern-format images; hero image not lazy-loaded.
  6. Deferred scripts, fewer fonts, fewer third parties.
  7. Clean autoloaded options and revisions; real cron; object cache if needed.
  8. CDN with compression, HTTP/2+ and long cache lifetimes.
  9. Measure again, and keep watching.

Speed also drifts: a new plugin, a marketing tag or a theme update can undo months of work. A PerfoMetrix monitor re-scans the site on a schedule and e-mails you when performance drops, so you notice before your visitors do. Start with a free scan to see where your site stands today.

Tags:WordPresssite speedpage cachingpluginsPHPCore Web Vitals