Good
- TTFB
- 0.8 seconds or less
Measure time to first byte, separate connection delay from backend work, and diagnose slow routes with browser and server timing data.
Time to First Byte (TTFB) measures the time from a request starting until the first byte of the response arrives. High TTFB can come from network setup, redirects, cache misses, or slow backend work. Measure representative URLs in the field and in a controlled test, then inspect server timing and cache behavior before changing frontend assets.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
web.dev calls these a rough guide: a server-rendered site can have a higher TTFB and still beat a client-rendered one on FCP and LCP. A 103 Early Hints response or early flush of the headers or <head> can count as the first byte, so compare TTFB across platforms with care.
A slow TTFB is not automatically a front-end JavaScript problem. Scripts can make a page feel slow after HTML arrives, while TTFB is measured before the browser receives that response. Find the phase that dominates before choosing a fix.
Use PageSpeed Insights for real-user data (for sites in the Chrome User Experience Report) and a lab run. web.dev recommends field data as the primary source because redirects affect it, while lab tools often measure the final URL and miss that delay. Lighthouse's server response time audit also excludes DNS lookup and redirect time, so it covers only part of TTFB.
In Chrome DevTools Network, select the main document and inspect Timing. Record redirects, queueing, connection setup, waiting for server response, and the final status. Repeat a few times; one request can be a cache or network outlier.
Test the home page, a content route, and a dynamic route. Compare a warm request with a cold request and inspect response headers for cache behavior. Do not compare different regions or cache states as if they were the same test.
If you own the backend, expose a Server-Timing header for expensive work such as database queries, server-side rendering, and edge cache hits or misses. Inspect those values in DevTools to see whether the wait is in the app or upstream.
Server-Timing: db;desc="Database";dur=82, ssr;desc="Server rendering";dur=120The values in a Server-Timing header are diagnostics from your own application. Keep them meaningful, avoid exposing sensitive internal detail, and use the data to identify a slow component rather than treating one header as proof that a fix worked.
For a site-wide problem, check host capacity and CDN configuration first. For a route-specific problem, profile the template and its data dependencies. For redirect overhead, see redirect chains. If the response arrives quickly but rendering still stalls, investigate scripts separately with the third-party scripts guide.
TTFB is most useful when paired with timing breakdowns and an explicit hypothesis. A lower number is evidence that the response starts earlier under the measured conditions; confirm that users also receive correct and complete content.
3 questions people ask next, answered from the sources on this page.
Potential contributors include network setup, redirects, CDN or browser cache misses, slow hosting, database work, server rendering, and external calls. Use timing breakdowns to identify which one applies.
Client-side JavaScript generally runs after the HTML response begins arriving, so it is not the first place to look for high document TTFB. Server-side rendering or an API dependency can delay the response itself. web.dev does note that when a page needs JavaScript to fill in its content, a low TTFB matters even more because client rendering can start sooner.
web.dev's rough guide is 0.8 seconds or less for good and greater than 1.8 seconds for poor. TTFB is not a Core Web Vitals metric, so it matters mainly when it holds back FCP and LCP.
Run the free audit, then approve the fixes. Every change can be undone.