What TTFB measures
Time to First Byte measures how long passes between the browser requesting a page and receiving the first byte of the response. It is not load time: when that first byte arrives, nothing is visible on screen yet. It is the moment the server stops thinking and starts talking.
web.dev gives 800 milliseconds as the reference for a good value and 1,800 as the limit of the acceptable. Unlike the Core Web Vitals, TTFB is not a metric you are assessed on; it is an upstream diagnosis that explains much of what happens afterwards.
The most widespread misunderstanding is taking it for "the server's time". TTFB contains, in order: any redirects, service worker startup, the DNS lookup, the TCP connection, the TLS negotiation, sending the request, and finally the server's work. On many slow sites the backend is the fastest stage of them all.
That composition explains why two pages on the same server can produce very different values. One requested directly starts cold once; one reached through an old link with a 301 redirect repeats half the chain before it even begins.
Two close relatives regularly get confused with it. Server response time is only the last stage of TTFB; network latency is only one of the middle ones. TTFB covers both and everything else before the first byte, and that is exactly its use: it is the only measurement spanning the whole route.
For an e-commerce shop with a large catalog that distinction has budget consequences. Moving to more expensive hosting fixes the last stage; if the time went into resolving DNS at a slow provider or into an inherited chain of hops, the money buys nothing.
