time to first byte

The time from starting a request until the first byte of the server's response arrives, covering connection setup, server work and travel time.

In more detail

TTFB includes DNS, TCP and TLS setup plus the time the backend spends producing the response. It is measured to the first byte, not the whole download, so a large page can have a fast TTFB and still finish slowly. A slow TTFB delays every later step, including Largest Contentful Paint.

Related terms

Taught in

References