Skip to content

Why Is My WordPress Site Slow? How to Find and Fix It

Diagnose a slow WordPress site step by step: check TTFB, plugins, caching, images and scripts with PageSpeed Insights and Query Monitor, then fix in order.

By Devma Hosting Team · · 12 min read

A laptop on a wooden desk beside a stopwatch, coffee mug and network cable, lit by a warm desk lamp at dusk.

A slow WordPress site almost always comes down to one of six things: a slow server response, a heavy plugin or theme, pages that aren't cached, oversized images, render-blocking JavaScript, or a host that simply can't keep up. The fastest way to fix it is to measure first, find which of those is actually to blame, and then apply the matching fix instead of installing yet another optimization plugin.

This guide walks you through that diagnosis with free tools (PageSpeed Insights, Query Monitor and a couple of terminal commands) and then gives you the fixes in order of impact.

Key takeaways

  • Start with Google PageSpeed Insights on mobile and check the field data (real visitors) separately from the lab data (a simulated test).
  • If your server response time (TTFB) is above 0.8 seconds, fix the backend first: caching, slow plugins, PHP version or hosting. Front-end tweaks won't hide a slow server.
  • Query Monitor, a free WordPress plugin, shows which plugin or theme is running slow or duplicate database queries.
  • Google's Core Web Vitals targets are LCP under 2.5 seconds, INP under 200 milliseconds and CLS under 0.1, measured at the 75th percentile of real visits.
  • Never lazy-load your main hero image, and set width and height on images to prevent layout shift.

What usually causes a slow WordPress site?

Before you change anything, match the symptom to the likely cause. This table is the map for the rest of the article.

Symptom in your tests Likely cause Where to look
High TTFB (server response) No page cache, slow queries, outdated PHP, weak hosting PageSpeed Insights, curl, Query Monitor
Slow admin and slow front end Heavy plugins, bloated database, limited server resources Query Monitor
High LCP but good TTFB Oversized or lazy-loaded hero image, slow fonts PageSpeed Insights diagnostics
High Total Blocking Time or poor INP Too much JavaScript from plugins or page builders PageSpeed Insights, Query Monitor scripts panel
High CLS Images without dimensions, ads, embeds, web fonts PageSpeed Insights layout shift details

Step 1: Measure your slow WordPress site with PageSpeed Insights

PageSpeed Insights is Google's free tool for analyzing a page on mobile and desktop. Run it on your homepage and on one or two of your most important inner pages (a product page, a blog post, a service page). Inner pages are often slower than the homepage because they load different templates and plugins.

Always start with the mobile results. They are usually tougher, and for many sites a large share of visitors browse on phones.

Field data vs lab data: read them separately

PageSpeed Insights shows two kinds of data, as explained in Google's PSI documentation:

  • Field data (the "Discover what your real users are experiencing" section) comes from real Chrome users. This is what Google uses for the Core Web Vitals assessment. Smaller sites may not have enough traffic to show any field data at all.
  • Lab data (the performance score and the audits below it) comes from a single simulated Lighthouse test. It's ideal for debugging, but it's one run on one simulated device.

According to web.dev, a page passes Core Web Vitals when it meets the targets at the 75th percentile for all three metrics. Google Search Central sets those targets as:

Metric What it measures Good target
LCP (Largest Contentful Paint) When the main content appears 2.5 seconds or less
INP (Interaction to Next Paint) How quickly the page responds to taps and clicks Under 200 ms
CLS (Cumulative Layout Shift) How much the layout jumps around Under 0.1

One detail trips people up: the lab test can't measure INP, because it needs a real person interacting with the page. Lighthouse shows Total Blocking Time (TBT) instead, as web.dev notes. Use TBT as a stand-in for responsiveness during debugging, but judge your real INP from the field data. If you still see guides talking about FID, they're out of date: INP replaced it as a Core Web Vital in March 2024.

Write down your baseline

Record LCP, CLS, TBT, INP (if field data exists) and TTFB for each page you test. Run the lab test two or three times, because results vary from run to run. Without a baseline, you can't tell whether a fix helped.

Step 2: Check server response time (TTFB) first

Time to First Byte is how long the browser waits before the server starts sending the page. It isn't a Core Web Vital, but as web.dev explains, it comes before every other loading metric. If the server takes 2 seconds to respond, there's very little time left for the main content to appear within the 2.5 second LCP target.

According to web.dev's TTFB guide, a good TTFB is 0.8 seconds or less, and anything above 1.8 seconds is poor.

You may also see Lighthouse flag server response times above roughly 600 ms (the exact audit name and wording have changed between Lighthouse versions). The two numbers aren't contradictory: the 0.8 second figure is a rough guide for real-user TTFB, while Lighthouse uses its own, stricter threshold in the lab. If you're under 600 ms you're in good shape on both. Between 600 and 800 ms there's room to improve. Above 800 ms the server is likely your main problem.

Measure TTFB from the command line

You can get a quick, repeatable reading with curl. Run it a few times, since the first request may hit an empty cache:

curl -o /dev/null -s -w "TTFB: %{time_starttransfer}s\nTotal: %{time_total}s\n" https://example.com/

Don't worry if this number doesn't exactly match PageSpeed Insights. Different tools measure from different starting points, and Chrome changed how it reports TTFB in version 115, so numbers across tools rarely line up perfectly. Look for consistent patterns, not exact matches.

Test cached and uncached pages

Compare a page that should be cached (your homepage, logged out) with one that can't be, such as a search results page:

curl -o /dev/null -s -w "%{time_starttransfer}s\n" "https://example.com/?s=test"

If the cached page is fast and the search page is slow, your caching works and the slowness lives in PHP and the database. That's what Step 3 is for. If both are slow, check whether caching is working at all (Step 4).

Step 3: Find the plugin slowing down WordPress with Query Monitor

Query Monitor is a free developer tools plugin for WordPress. Once active, it adds a panel to the admin toolbar showing what happened while a page was generated.

Here's how to use it for speed diagnosis:

  1. Install and activate Query Monitor (ideally on a staging copy of your site first).
  2. Visit a slow page on the front end while logged in, then open the Query Monitor panel from the toolbar.
  3. Check the overview for page generation time and the total number of database queries.
  4. Open Queries by Component to see how many queries, and how much query time, each plugin and your theme are responsible for.
  5. Check the Slow Queries and Duplicate Queries panels. Repeated identical queries are a common sign of a poorly built plugin.
  6. Open HTTP API Calls. A plugin that calls an external service on every page load (license checks, social counts, remote feeds) can add seconds if that service is slow.
  7. Deactivate the worst offender on staging and measure again.

The point is to find out what each plugin actually costs. A site with 40 lightweight plugins can be faster than one with 10 heavy ones. When you find a culprit, your options are to replace it with a lighter alternative, change its settings (many plugins let you disable features you don't use), or ask the developer for help.

When you're done, deactivate Query Monitor on production. It's a diagnostic tool, not something to leave running.

While you're in the plugins list, remove anything inactive or abandoned. That's good for speed and security alike, as covered in our WordPress security checklist.

Step 4: Make sure page caching is actually working

Without a page cache, WordPress runs PHP and queries the database for every single visitor. With one, most visitors get a ready-made HTML file. For most content sites, this is the single biggest speed win.

The options, roughly from fastest to simplest:

  • Server-level caching provided by your host (often through Nginx, LiteSpeed or a reverse proxy).
  • A caching plugin that writes static HTML files.
  • A CDN that caches HTML at the edge, if configured to do so.

Use one page caching layer, not three. Stacking several caching or optimization plugins with overlapping features is a classic cause of broken layouts and, ironically, slower pages.

Check the response headers

Most caches add a header telling you whether the response was a hit or a miss. Header names vary by host and plugin, so look at everything that mentions cache:

curl -sI https://example.com/ | grep -i -E "cache|age|x-"

Run it twice. On the second run, you should see something indicating a hit, or an age header greater than zero. If every request is a miss, the cache isn't working.

Also open Tools > Site Health in your dashboard. Recent WordPress versions include checks for page caching and persistent object caching and will flag slow server responses there.

Consider a persistent object cache

For sites that can't be fully page cached (WooCommerce stores, membership sites, forums), a persistent object cache such as Redis or Memcached keeps the results of repeated database queries in memory. It needs support from your server, so check with your host before installing a plugin for it.

Step 5: Fix oversized images and a slow LCP

If TTFB is good but LCP is still high, the culprit is usually the largest element at the top of the page, often a hero image or slider. PageSpeed Insights tells you which element is your LCP element in its diagnostics.

Fixes, in order of impact:

  1. Resize images to the size they're displayed at. A 4000-pixel-wide photo straight from a camera, shown in a 1200-pixel space, wastes bandwidth on every visit.
  2. Use modern formats. WordPress supports WebP and AVIF uploads, provided your server's image library supports them. Both are usually much smaller than JPEG at similar quality.
  3. Don't lazy-load the LCP image. WordPress lazy-loads images by default and tries to skip the first, most important one, but themes, page builders and optimization plugins sometimes override that. Lazy-loading the hero image delays the very thing LCP measures.
  4. Give the LCP image priority. WordPress adds fetchpriority="high" to the image it thinks is most important. Check that your hero image has it.

A well-behaved hero image looks like this in the page source:

<img src="/wp-content/uploads/hero-1200.webp" width="1200" height="600" fetchpriority="high" alt="Description of the image">

Note that there's no loading="lazy" attribute on it. Images further down the page should keep lazy loading.

Sliders and background-image heroes are harder to optimize, because the browser discovers them later. If your LCP element is a slider, replacing it with a single static image is often the most effective fix you'll make.

Step 6: Reduce render-blocking and heavy JavaScript

High Total Blocking Time in the lab, or poor INP in the field, means the browser's main thread is busy running JavaScript when it should be responding to the visitor. In WordPress, this usually comes from page builders, sliders, chat widgets, tracking scripts and plugins that load their assets on every page even when they're only used on one.

Work through it like this:

  1. In PageSpeed Insights, look at the audits or insights about JavaScript execution time and render-blocking resources. They list the specific files and their sizes.
  2. Match each file path to its plugin. Paths like /wp-content/plugins/plugin-name/ make this easy.
  3. Remove what you don't need. Unused plugins and forgotten tracking scripts are the cheapest fix of all.
  4. Stop plugins loading assets where they aren't used. A contact form script doesn't need to load on your blog posts. Some plugins have a setting for this; otherwise, an asset manager plugin or a small code change can handle it.
  5. Defer or delay non-critical scripts. Most caching and optimization plugins offer this. Test carefully afterward, because delaying the wrong script can break menus, forms or checkout.

Third-party embeds (chat, video, maps, social feeds) are frequent offenders. Loading them only when a visitor clicks a placeholder can make a large difference.

Step 7: Fix layout shift (CLS)

CLS problems are less about speed and more about stability, but they count toward Core Web Vitals. Common WordPress causes:

  • Images or embeds without width and height attributes, so the browser can't reserve space for them.
  • Ads, cookie banners and promo bars injected at the top of the page after it loads.
  • Web fonts that swap in and change text size. Hosting fonts locally and using fewer weights helps.

PageSpeed Insights lists the elements that shifted, which usually points straight at the fix.

When is your hosting the real problem?

If you've enabled page caching, removed heavy plugins and your TTFB on uncached pages is still well above 0.8 seconds, the server itself is probably the bottleneck. Other signs:

  • Speed varies a lot depending on time of day.
  • The admin dashboard is slow even with few plugins.
  • You see timeouts or 500 errors during traffic spikes.
  • Your host can't offer a current PHP version or server-level caching.

Check your versions against the official WordPress requirements, which currently recommend PHP 8.3 or greater, MariaDB 10.11 or greater (or MySQL 8.0 or greater) and HTTPS support. Many third-party guides list older numbers, and the recommended versions are higher than the minimum WordPress will run on. Upgrading PHP is often a free speed boost, but test your theme and plugins on staging first.

Also check whether bots are eating your server resources. Aggressive crawlers, including some AI crawlers, can add noticeable load, especially on smaller servers, and your server logs will show which user agents make the most requests. Our AI Crawler Checker shows which AI bots your site currently allows, and our guide on blocking AI crawlers without hurting SEO explains your options.

If you do need more resources, our comparison of VPS vs shared hosting vs managed WordPress helps you choose the right tier, and moving doesn't have to mean downtime: see how to migrate WordPress with zero downtime.

The fix order at a glance

Order Check If it fails, do this
1 TTFB under 0.8 s Enable page caching, fix slow plugins, upgrade PHP, consider object cache or better hosting
2 LCP under 2.5 s Resize and convert the hero image, remove lazy loading from it, avoid sliders
3 TBT low, INP under 200 ms Remove unused plugins and scripts, unload assets per page, defer non-critical JS
4 CLS under 0.1 Add image dimensions, reserve space for ads and embeds, optimize fonts

Common mistakes to avoid

  • Chasing a 100 score. The Lighthouse score is a lab diagnostic. Google's assessment uses field data at the 75th percentile.
  • Testing while logged in. Many caching setups bypass the cache for logged-in users, so your experience doesn't match your visitors'.
  • Changing five things at once. Make one change, retest, and keep notes. Otherwise you won't know what helped or what broke.
  • Optimizing on the live site. Use a staging copy for plugin tests and script deferral, which can break functionality.
  • Comparing TTFB across different tools. Compare a tool against itself over time instead.

Get a WordPress setup that's fast by default

Most of the fixes above are things you can do yourself in an afternoon. The part you can't fix with plugins is the server: a current PHP version, server-level caching and enough resources to handle uncached requests. Those are the things to check when you compare hosts, and you can see what our WordPress Hosting plans include before you decide. If you'd rather hand off the diagnosis and fixes entirely, the Devma Hosting team also offers Speed Optimization for existing sites.

Frequently asked questions

Why is my WordPress site still slow with a caching plugin installed?

Caching only helps if pages are actually being served from the cache, so check the response headers or your plugin's status page to confirm it is working. Logged-in users, carts, checkouts and pages with query strings are often excluded on purpose. If cached pages are fast but uncached ones are slow, the real problem is the backend: slow queries, heavy plugins or an underpowered server.

Why are my mobile and desktop PageSpeed Insights scores so different?

The mobile lab test simulates a mid-range phone on a throttled network, while the desktop test uses a faster connection and more processing power. Heavy JavaScript and large images hurt much more under those mobile conditions. Google's Core Web Vitals assessment is based on real-user field data, so treat the lab score as a diagnostic aid rather than a grade.

Why does my site feel fast to me but show as slow in PageSpeed Insights?

Your browser has probably cached your site's files, and you may be on a fast computer and connection that your visitors don't have. If you are logged in to WordPress, you may also be seeing pages generated fresh or bypassing optimizations entirely. Test in a private window while logged out, and trust the field data, which reflects real visitors.

How many plugins is too many for WordPress?

There is no safe number. One poorly built plugin that runs slow database queries on every page can do more damage than twenty lightweight ones. Use Query Monitor to see what each plugin actually costs, and remove plugins you no longer use regardless of their speed.

Abstract blue swirling shapes with light reflections

Ready when you are.

Pick a plan and launch today, or tell us what you run and we will size it with you.

Devma Hosting

AI assistant · replies in seconds

Hi there.
How can we help?

Ask about plans, moving your site, email or security. Answers come from our own guides, and a person is one tap away.

  • Message us on WhatsApp