Is your host slowing your site down? How to check in 5 minutes
Some links below earn us a commission. That never changes what we recommend. Our disclosure.
Moving hosts is a weekend of work and sometimes changes nothing. These four tests tell you, before you move, whether the server is really the problem.
A slow website has three possible culprits: the server, the software running on it (WordPress, the theme, plugins), or what the browser has to download (images, scripts, fonts). Only the first one is fixed by changing hosts. The tests below separate them.
The number that matters: time to first byte
Time to first byte (TTFB) is how long the browser waits between asking for a page and receiving the first byte of it. Everything the browser does afterwards, downloading images or running scripts, starts after that wait. Google’s guidance is that a TTFB of 0.8 seconds or less is good.
TTFB is mostly made of two things: the network distance to the server, and the time the server spends building the page. A host influences both.
Test 1: measure TTFB from your own machine
Open a terminal and run this, with your own address:
curl -o /dev/null -s -w "connect: %{time_connect}s ttfb: %{time_starttransfer}s total: %{time_total}s\n" https://yoursite.com/
Run it five times and look at the ttfb value. On Windows without curl, open Chrome, press F12, go to the Network tab, reload the page, click the first line (your page) and open Timing: “Waiting for server response” is your TTFB.
What the result tells you:
- Under 0.4 s: the server is fine. Your slowness is elsewhere. Go to How to fix a slow WordPress site.
- 0.4 to 0.8 s: acceptable. A better cache will probably gain more than a new host.
- Over 0.8 s, consistently: keep going with tests 2 and 3 before you decide.
Test 2: compare a static file with a real page
This is the test most people skip, and the most useful one. Run the same command on a static file your server sends without running any code, such as your robots.txt:
curl -o /dev/null -s -w "ttfb: %{time_starttransfer}s\n" https://yoursite.com/robots.txt
Now compare:
| robots.txt | Home page | What it means |
|---|---|---|
| Fast (under 0.3 s) | Fast | Server and WordPress are fine |
| Fast | Slow | The server is OK; WordPress is slow to build the page. Missing page cache, a heavy plugin or slow database queries. A new host may help a little; a cache helps a lot. |
| Slow | Slow | The server or its network is slow. This is where a host change pays off. |
Test 3: check whether the page cache works
A page cache stores a ready-made copy of each page so the server doesn’t rebuild it on every visit. With a working cache, TTFB on a WordPress page should be close to the robots.txt number.
Look at the response headers:
curl -sI https://yoursite.com/ | grep -iE "cache|age|x-litespeed|cf-cache"
Headers such as x-cache: HIT, x-litespeed-cache: hit, cf-cache-status: HIT or an age: value mean the page came from a cache. If you only ever see MISS, or no cache header at all, the cache isn’t working for visitors. Two common reasons: you’re testing while logged in (caches skip logged-in users, so test in a private window or with curl), or a plugin sets cookies on every page, which stops the cache.
Test 4: test from where your visitors are
Your own machine may sit next to the server or on the other side of the world. Run a free test on WebPageTest from a location close to your real visitors, and look at the “First Byte” figure. Then open PageSpeed Insights: if your site has enough traffic, the top section shows real-user data from Chrome users over the last 28 days, including TTFB. That’s the number Google sees.
A server in the US serving visitors in Morocco or France will add distance to every request. A CDN fixes much of that for static files; for the HTML page itself, server location or a full-page edge cache matters.
Signs the host is the problem
If test 2 pointed at the server, look for these patterns:
- TTFB changes a lot during the day. Fast at night, slow in the afternoon: you share a server with neighbors who are busy at the same time as you.
- Resource limit warnings in your control panel. Shared hosts cap CPU, memory and simultaneous processes. Hitting those limits shows up as slow pages or “508” errors.
- An old PHP version you can’t change, or no server-level cache available at all.
- Downtime. Set up a free uptime monitor that checks every few minutes. A week of data is enough to see whether short outages are routine.
What to do with your results
- WordPress is slow, server is fine: don’t move yet. Set up a page cache and fix the heavy parts first. The order that works is here.
- Server is slow, site is small: a better shared or entry-level cloud plan is usually enough. Look at the price after the first term, not the promotional one.
- Server is slow, site makes money: managed WordPress or managed cloud hosting removes most of the tuning work.
These are the same tests we run on every host in Best WordPress hosting for small business sites, where one WordPress site moves across several hosts.