High TTFB in WordPress: A Cache Miss or a Slow Server?
A slow first response does not automatically mean bad hosting. Learn to compare cache states, read request timings and collect evidence before changing WordPress.

Quick summary: A slow first response can come from several places: the connection, a redirect, a cache that did not serve the page, or the application preparing it. This guide shows you how to separate those possibilities on WordPress, collect a useful before-and-after record, and decide what to investigate next.
You open a page. It waits. You reload it, and this time it appears almost immediately.
It is tempting to blame your hosting or install another performance plugin. But those two visits may have followed different paths. One may have reached WordPress and its database; another may have received a prepared response from a cache. Even that is only a hypothesis until you check the evidence.
The useful question is: what changed between the requests?
First, Identify What Is Actually Waiting
Time to First Byte, or TTFB, describes the wait until the first response byte arrives. For a navigation, that interval can include redirects, DNS lookup, connection setup and waiting for the response. It is not simply the time PHP spends running. The exact boundaries depend on the tool; compare the same measurement rather than treating similarly named numbers as interchangeable. web.dev explains the timing components.
This article focuses on the initial HTML document. A late product photograph is a different investigation from an HTML response that has not started arriving yet. Both can delay visible content, but replacing the photograph will not necessarily make the server send HTML sooner.
TTFB is a diagnostic metric, not a Core Web Vital or a ranking verdict. If you need the wider context, read our guide to interpreting LCP, INP and CLS. Here, we will keep following the request before the page can render.
There Is More Than One Cache
A cache stores something that can be reused. Where it sits determines what work it can avoid.
| Layer | What it may reuse | What it does not establish |
|---|---|---|
| Browser cache | A response on your own device | Whether a new visitor receives fast HTML |
| CDN or reverse-proxy page cache | A shared response near the visitor or in front of the application | Whether WordPress is fast when that response is unavailable |
| WordPress page cache | Previously generated HTML | Whether every URL or visitor is eligible for that cache |
| Object cache | Reusable application data, such as database query results | That the entire HTML page bypassed WordPress |
A CDN serving your images does not prove that it caches the HTML document. Likewise, an object cache can help WordPress generate a response without providing a full-page cache. Ask which layer a dashboard setting or response header describes.
You will often encounter HIT, MISS and BYPASS. Broadly, these indicate reuse, a response not found in that cache, and a request that did not use that cache. These labels are provider-specific: a miss at one layer can still be a hit at another.
A bypass is not automatically a fault. A logged-in account page may need a private response. A public service page may be a better candidate for shared caching, subject to its content and configuration.
Read Three Requests Before Drawing A Conclusion
The examples below use invented timings. They are learning exercises, not measurements from a client or a scanner for your website.
Interactive learning exercise
Follow the wait before the HTML arrives
Synthetic examples, not a live website test. The bars separate connection setup from document waiting. These are simplified components, not a full navigation TTFB calculation; redirects, queueing and other phases are omitted. All examples remain readable without JavaScript.
A slower miss, a faster repeat
Reported cache state: MISS, then HIT at the same reported layer.
Connection setup: 120 ms
First response waiting: 1400 ms
Repeat response waiting: 180 ms
The cache hit coincides with a shorter waiting period. Investigate cache reuse and the work on the miss path. These numbers alone do not identify a slow plugin or prove that hosting must change.
The delay is not all application work
Reported cache state: HIT for both responses.
Connection setup: 900 ms
First response waiting: 180 ms
Repeat response waiting: 170 ms
The connection component is large even though the response reports a hit. Check network conditions and delivery location. A cache hit does not remove the need to reach that cache, and a shorter wait does not mean every part of the visit is fast.
A bypass can be intentional
Reported cache state: BYPASS for an authenticated page.
Connection setup: 100 ms
First response waiting: 1200 ms
Repeat response waiting: 1150 ms
The response may need to stay private. Investigate application work using a safe test account and authorised diagnostics. Do not enable shared caching for account or cart data just to improve a timing.
Have you collected comparable evidence?
Record the exact URL and test conditions, identify the response source, verify the cache layer/status, and repeat the same comparison. Missing evidence is a next step, not a diagnosis.
Notice what the examples do not tell you. They cannot identify a culprit plugin, prove that a database query is slow, or tell you that another hosting plan would help. They narrow the next question.
A faster reload is evidence of a different experience. It is not, by itself, evidence of which cache made the difference.
Capture A Useful Browser Test
Use a page you own or have permission to investigate. Start with an anonymous, public page; leave private account and checkout flows for a separately controlled test.
- Open a fresh browser profile or private window, without signing into WordPress. Record the URL, test location, device, browser and connection conditions. A private window reduces some existing browser state; it does not clear a CDN cache.
- Open DevTools Network before navigating. Enable Preserve log if you need to follow redirects. Select the main document request rather than an image, analytics call or API response.
- Check the status, final address and response source. A response served from memory, disk or a service worker is not a comparable new origin request. Record those cases separately.
- Open Timing. Separate queueing, connection setup, waiting and download. Chrome's Waiting (TTFB) includes network round-trip time and server response preparation; it is not a PHP profiler. See the Network panel reference.
- Read the response headers. Record the cache status for each observable layer and any documented age or diagnostic fields. If those headers are missing, write unknown rather than guessing.
- Repeat a small number of times with the same conditions. Save the range and the cache state for each request instead of keeping only the fastest run.
DevTools' Disable cache setting concerns browser caching while DevTools is open. It does not purge server caches. The request it produces may also be treated differently by upstream systems, so record the setting and inspect the actual response. A hard reload is not a universal way to force WordPress to run.
Do not add random query strings and call the result an uncached test. Cache keys and bypass rules vary, and parameters can change the page itself. Use your host's documented diagnostic method or a controlled staging environment when you need a confirmed bypass.
Interpret The Pattern, Not One Number
A practical record might look like this:
| Request | Observed HTML cache status | Document waiting | What you know |
|---|---|---|---|
| First anonymous visit | MISS at the reported layer | 1,400 ms | That cache did not supply a stored response |
| Repeat visit | HIT at the same layer | 180 ms | Reuse coincided with a shorter wait |
| Later visit | HIT at the same layer | 210 ms | A second comparable hit was also quicker |
These are synthetic values. They support investigating the miss path; they do not isolate the reason that path took longer. Connection reuse, server load and a second cache can still affect the comparison.
When Hits Are Fast And Misses Are Slow
First ask whether public pages are missing the cache more often than intended. Frequent purges, short lifetimes or different cache keys can reduce reuse. Check the provider's documentation and logs instead of changing several settings at once.
Then investigate the work behind the miss. With appropriate access, application profiling and server logs can show time spent generating HTML, waiting for a database or calling an external API. Hosting support may need the exact timestamp, URL and request identifier to correlate a slow response.
A page cache can hide expensive backend work. Improving the backend can still matter for less-visited pages and requests that must remain private.
When Even Cache Hits Are Slow
Verify what the hit actually covers. An image-cache hit says nothing about HTML delivery. Even a confirmed HTML hit does not remove network distance, connection setup, redirects or every form of upstream delay.
Compare the same URL from another relevant location using a tool with documented test settings. Look for a repeatable pattern before considering infrastructure changes. For redirect chains, use the separate 301 redirect diagnosis guide; this article will not repeat that repair procedure.
When Only Logged-In Or Personalised Requests Are Slow
Some requests intentionally bypass shared page caching. Cart contents, account details and personalised responses must not leak between visitors.
Investigate these paths with safe test accounts and a developer or host. Do not remove bypass rules merely to produce a faster number. If a plugin adds expensive work to every authenticated page, profiling should establish that before it is disabled.
For WooCommerce, test an anonymous catalogue page separately from a cart or account page. Their cache eligibility and business requirements are different, so their timings do not make a controlled A/B comparison.
Decide What To Change Next
Use the evidence you have collected to choose a next investigation, rather than treating every slow request as the same problem.
- An unexpected bypass on a public page: review the documented rule, cookies and response headers with the person who manages caching.
- Consistently expensive uncached HTML generation: investigate application work and resource constraints, with timestamps and profiling.
- A large connection or redirect component: examine delivery and routing before blaming WordPress execution.
- Fast HTML but slow visible content: move on to the image, stylesheet or rendering path; this is where the Core Web Vitals guide becomes useful again.
If evidence points towards PHP compatibility or an upgrade, use our safe WordPress PHP upgrade guide. A version change needs testing and a rollback plan; it is not a guaranteed remedy for high TTFB.
You can ask for implementation help through the website speed and Core Web Vitals service. Check its current scope before ordering. A useful handover contains measurements and uncertainty, not a preselected hosting migration.
Keep The Investigation Safe And Comparable
Cache changes can serve stale prices, hide new content or expose private responses if configured incorrectly. Back up relevant configuration, make one scoped change, and test content correctness as well as response timing. Do not purge all caches repeatedly on a busy production site just to manufacture a cold request.
Network exports can contain cookies, authorisation headers and personal data. Redact them before sharing. Where available, use a sanitised export and still inspect it; a screenshot of the relevant timings and redacted headers may be enough for an initial discussion.
Record a short handover: exact URL, time and time zone, anonymous or authenticated state, browser-cache setting, observed cache layer/status, timing breakdown, repeat count, change made and remaining unknowns. Keep the same test conditions when you retest.
Wrapping Up
High TTFB is a starting point for investigation. Compare requests that differ in a known way, verify the cache layer you are looking at, and follow the delay into the next measurable step. A cache miss can reveal work that a hit avoids; it cannot explain that work on its own.
Measure the request path before replacing the infrastructure.
