Resources · glossary
TTFB (time to first byte)
The time from a click to the server's first response, before the browser starts drawing anything. It measures the server and hosting, not how the page looks.
- TTFB
- time to first byte
- server response time
- 01
What this number tells you
How long the server-side work alone takes: finding the data, assembling the page, sending the response. Everything that happens afterwards only starts after this time, which is why a high value pushes up every other measure.
- 02
When it is too high
Above eight hundred milliseconds it is worth looking for the cause. Typical sources are overloaded shared hosting, no caching, and database queries that stopped being fast once the number of records grew.
- 03
What image optimisation will not fix
This very number. It is a common scenario: someone compresses the images and the overall score does not move, because the problem was the server. The order is the other way round: response time first, then what the browser downloads.
- 04
The cheapest improvement
Turning on caching for pages that do not change on every visit. The server then serves a ready result and the response time drops by an order of magnitude.
Related terms
- Web hostingThe place where your website sits so it is available on the internet. The cheapest item in the budget and the first to bite back when traffic grows.
- CacheA stored result of earlier work, served instead of doing the work again. The cheapest way to speed up a website and the most common reason for the question “why can't I see my changes”.
15 minutes. No sales pitch.
A term in a proposal sounds foreign? In 15 minutes we explain what it means for your project.