Why is my WordPress site slow? Six checks to run

A page load split in two. First the wait for the server, measured as time to first byte and good at 0.8 seconds or less, which checks 2, 3 and 6 cover. Then drawing the page, which checks 4 and 5 cover.

You click a link to your own site and watch the screen sit there, white, for a second too long. Then the menu jumps, the fonts change, and something finally appears. You know it’s slow. What you probably don’t know is why, and that’s the part that decides whether the fix takes an afternoon or a rebuild.

Most advice skips straight to “install a caching plugin”. Sometimes that’s right. Often it’s a bandage over the real problem. When DLP, an HR consultancy, asked me why their recently redesigned site wasn’t performing, the answer was an over-animated theme and dozens of plugins installed to fill its gaps. No plugin could fix that, because the site needed rebuilding.

These are the six checks I run first. Together they explain almost every slow WordPress site I see.

1. Is it the server or the page?

A slow site is either slow to start sending the page (the server’s problem) or slow to draw it (the page’s problem). They have completely different fixes, so measure before guessing.

Time to first byte (TTFB) tells you which. Test it logged out, because WordPress skips most caching for logged-in users.

curl -so /dev/null -w "TTFB: %{time_starttransfer}s\n" https://yoursite.com/

Run it a few times. Google treats 0.8 seconds or less as good. If you’re well over that, start with checks 2, 3 and 6. If TTFB is fine but the page still feels slow, the problem is in the browser, so go to checks 4 and 5.

It’s also worth looking at real-world data. PageSpeed Insights (opens in a new tab) shows how your site performs for actual Chrome users, if you get enough traffic, above the lab test. The real-world numbers are the ones Google uses.

2. Is there a page cache at all?

Without a page cache, WordPress rebuilds every page from scratch for every visitor, loading PHP, running database queries and assembling the theme. With one, most visitors get a finished copy instantly.

Check the response headers for a cache hit. Depending on your host you’ll see something like x-cache: HIT, cf-cache-status: HIT or a caching plugin’s own header.

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

If nothing says it was served from cache, that’s your first fix. Many good hosts include server-level caching, so use that before adding a plugin, and never run two caching layers that fight each other.

3. How much is WordPress loading on every request?

This one is invisible from the outside, and it’s my favorite because it’s so often the culprit on older sites.

WordPress keeps settings in a database table called wp_options. Options marked as “autoload” are loaded on every single request, whether the page needs them or not. Plugins add rows there, and many leave them behind when you delete the plugin. Over years, that can grow into megabytes loaded for nothing.

This query lists the biggest offenders.

SELECT option_name, LENGTH(option_value) AS bytes
FROM wp_options
WHERE autoload IN ('yes', 'on', 'auto-on', 'auto')
ORDER BY bytes DESC
LIMIT 20;

Recent versions of WordPress also warn about this in Tools > Site Health. If you see options named after plugins you removed long ago, they can usually go, but take a database backup first and check each one, because some belong to plugins that are still active.

4. What is every page loading that it doesn’t need?

Plugins tend to load their CSS and JavaScript on every page, just in case. Your contact form’s scripts load on your blog posts. Your slider loads on pages without a slider. Each one is small, but together they add up, and every script has to be downloaded, parsed and run before the page settles.

The free Query Monitor plugin shows exactly which scripts, styles and database queries each page uses, and which plugin added them. Run it on a staging copy, look at a simple page like your About page, and ask of every item whether this page needs it.

5. Is the theme doing too much?

Multipurpose themes and page builders are built to do everything, so they ship code for everything. The tell-tale signs are a page with thousands of nested elements, animations on every section, and several icon fonts.

A very large page structure doesn’t just slow loading. It makes every tap and scroll slower too, because the browser has more to recalculate each time something changes. Google’s Lighthouse audit starts warning at around 800 elements and flags anything over 1,400. If a simple page like your About page is past that, the theme is working against you.

A scale of how many elements are on one page. Lighthouse starts warning at 800 elements and flags pages with more than 1,400.

This is the check that most often leads to a rebuild rather than a tune-up. You can’t configure your way out of a theme’s architecture.

6. What runs in the background?

WordPress has its own task scheduler, wp-cron, and by default it checks for due tasks when someone visits a page. On a busy site that’s wasteful, and on a quiet one scheduled posts and backups run late. If you have access to real server cron, switch it over.

// wp-config.php
define('DISABLE_WP_CRON', true);

# crontab: run due tasks every five minutes
*/5 * * * * cd /path/to/site && wp cron event run --due-now

While you’re there, look at third-party scripts such as chat widgets, booking tools, tracking tags and video embeds. Each one is somebody else’s code running on your page. Embedded videos are a common surprise, since a single YouTube embed can load far more than the rest of the page. A lightweight placeholder that only loads the player when clicked keeps the video and loses the weight.

What I’d avoid

Stacking optimization plugins. A minification plugin, a lazy-loading plugin, an image plugin and a caching plugin, all from different authors, often overlap, break each other, and leave you with a site that’s harder to debug than when you started. Fix the cause, and you usually need one tool or none.

Run these six checks and you’ll know where your time is going. Once you know that, a fast site stops being a mystery and becomes a list of jobs, and you can watch each one take a slice off the load time.

Comments

No comments yet. Questions and corrections are welcome.

Leave a comment

Comments appear after I’ve read them. Your email is never shown. How I handle your details.