WSWhat Scene?

Learn · Performance & optimization

What is TTFB (Time to First Byte)?

TTFB is how long it takes for the first byte of the server's response to reach the browser, counted from the moment the request starts. Google's guidance is that 0.8 seconds or less is good and anything over 1.8 seconds is poor. It is not a Core Web Vital itself, but it caps the ones that are.

The wait covers more than the server thinking. It includes the DNS lookup, the connection, the TLS handshake, any redirects along the way, and only then the time the server spends building the response. A redirect chain can add a whole round trip before the real request has even been made.

It matters because nothing can be painted before the first byte arrives, so TTFB is a floor under LCP. If TTFB is 1.5 seconds, no amount of image optimisation gets LCP under the 2.5 second boundary. Fix the server response first, then the content it delivers.

Updated August 2026

Want this built, not just explained?