Time to First Byte
How long it takes from sending a request until the first byte of the response arrives.
In more detail
A server that waits for every database query before responding has a slow TTFB. Streaming sends the shell immediately, so the first byte arrives quickly even when some data is slow.
Related terms
- streaming SSR — Server-side rendering that sends the HTML shell immediately and streams the rest of the page as each piece of data becomes ready.
- Core Web Vitals — Google's set of user-experience metrics for loading, responsiveness and visual stability, used in search ranking.
- latency — The time between asking for something and getting the answer back.
Taught in
- Streaming SSR: Progressive HTML & Chunked Transfers — Next.js 15 & Modern App Router Architecture