Skip to content

Glossary · PerformanceAlso: TTFB

What is Time to First Byte (TTFB)?

Time to First Byte (TTFB) measures the time from a page request until the first byte of the response arrives, including redirects, DNS, connection setup and server processing. Google's guidance treats 0.8 seconds or less as good and over 1.8 seconds as poor.

Source: web.dev: Time to First Byte

Why it matters

Nothing can render before the first byte arrives, so a slow TTFB delays every other metric, including LCP.

Common fixes are caching rendered pages, serving from a CDN, removing redirect chains and speeding up slow database queries.

Example

// in practice

A page that queries the database on every request has a TTFB of 1.5 seconds; caching it at the edge brings TTFB down to a fraction of that.

Go deeper

Next step

Need this done properly?

Tell us what you are building. A senior engineer replies within one business day with specific, honest next steps.

First reply
Within 1 business day
Typical start
1–2 weeks
Pricing
Fixed price per phase
You own
All code and accounts