Skip to content

Technical SEO

Time to First ByteTTFB

The time from a request being made to the first byte of the response arriving. It is the foundation that every other loading metric sits on.

By , Founder and CEO, Own The Climb · Last updated

How we explain this term

Time to First Byte measures how long it takes for the first byte of the server response to reach the browser after a request. It rolls up DNS resolution, connection setup, TLS negotiation, request travel, and server processing time. A common target is under 800 milliseconds, though faster is always better because TTFB is the floor under LCP: you cannot paint the largest element before the HTML starts arriving.

TTFB is dominated by server and network factors: how fast the origin generates the response, how far the user is from the server, whether the response is cached at an edge, and whether the connection is warm. The biggest wins usually come from caching at a CDN edge, serving static or incrementally regenerated HTML instead of computing every request, and reducing slow database or API calls on the critical path.

For frameworks that support edge rendering and CDN caching, much of the TTFB problem is solved by architecture: serve the shell from the edge, stream the rest. The audit reports the time next to the Server-Timing, Age and X-Vercel-Cache headers when your server sends them, so a slow answer can be traced to the server or to the cache.

How we check this on your site

We time how long your server takes to start sending each page we read and compare it with web.dev's bands: 0.8 seconds or less is good, more than 1.8 seconds is poor. We take one sample from our servers to help you investigate a slow response. Core Web Vitals measure other aspects of the page experience.

How we would address a finding

  1. Check the evidence first: a cache hit that is still slow points at the network or the cache; a miss points at your server.
  2. Put a CDN in front of the site, and cache whole pages that are the same for every visitor.
  3. Remove slow database calls and third-party requests from the work done before the page starts to send.
Server response time (TTFB): how long does your server take to start answering?How this check works →

Primary sources