TTFB (Time to First Byte) is the metric that measures the time elapsed between a browser requesting a page and receiving the first byte of response from the server, reflecting the responsiveness of the infrastructure.
Key Points
- A TTFB under 0.8 seconds is considered good by Google; over 1.8 seconds is considered poor.
- It is directly influenced by hosting quality, server configuration, server-side caching, and geographic distance from the user.
- A high TTFB automatically affects every loading metric that comes after it, including FCP and LCP.
- Using a CDN and server-side caching can significantly reduce TTFB for visitors located far from the main server.
Practical Example
A site hosted on shared hosting without a CDN can have a TTFB over 1.5 seconds for visitors in another geographic region, while adding a CDN can bring that time under 0.5 seconds.
Why It Matters
TTFB is the foundation all other speed metrics build on; a slow TTFB limits how fast LCP and FCP can be reached, regardless of front-end optimizations.
FAQ
Does TTFB depend on hosting?
Yes, largely; server quality, cache configuration, and the infrastructure geographic location directly influence TTFB.
Does a CDN always fix TTFB problems?
It helps significantly for cached content, but it does not fix issues caused by a slow backend or unoptimized database queries.