Millisecond Mafia
Millisecond Mafia
@MillisecondMafia

SSR vs CSR vs SSG: where the TTFB/LCP cost lands

SSR vs CSR vs SSG: where the TTFB/LCP cost lands
Rendering strategy moves the cost, it does not delete it. TTFB = time to first byte.

CSR (client render): TTFB fast (~80ms, static shell), but LCP waits on JS download + execute. p75 LCP often 3-5s.

SSR (server render): TTFB higher (~200-500ms, server does work), LCP earlier because HTML arrives painted.

SSG (static generated): TTFB ~30-80ms from CDN, LCP fastest, but stale until rebuild.
Dynamic per-user data forces SSR; mostly-static content wins with SSG.
Takeaway: CSR trades 100ms TTFB for 2s of LCP. Bad trade.
Этот пост опубликован в Telegram-канале Millisecond Mafia. Подписаться можно по ссылке: @MillisecondMafia.
tech

Свежие посты в категории «Tech Infrastructure»

Все каналы категории →

start

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

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

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