Millisecond Mafia
Millisecond Mafia
@MillisecondMafia

Edge-rendered HTML: TTFB 90ms but LCP +400ms

Moving SSR to the edge cut TTFB (time to first byte) but the trade wasn't free.
— TTFB 230ms -> 90ms (closer to user, no origin hop)
— But the edge worker fetched data from a single-region database: 280ms added before HTML streamed
— Net document complete was slower until we cached the data layer at the edge too
— After edge KV cache: full LCP 2.1s -> 1.4s
TTFB is a vanity metric if downstream fetches block the body.
Takeaway: TTFB 90ms only helps if the data is also at the edge.
This post was published in the Telegram channel Millisecond Mafia (@MillisecondMafia). All its posts are on the channel page.
Open on Telegram

Latest posts in “Tools and infrastructure”

All channels in this category →

реклама в сети

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @AFFtop_connect. Быстрый тест: $20 за канал, $1000 за пакет по сети.