Millisecond Mafia
Millisecond Mafia
@MillisecondMafia

CDN edge cache vs origin cache: TTFB math

CDN edge cache vs origin cache: TTFB math
Both cut TTFB. They cut different parts of it.

Origin cache (Redis/page cache): skips DB + render. TTFB at origin ~600ms -> ~80ms. But the byte still crosses the ocean.

CDN edge cache: serves from the nearest POP. Removes ~100-250ms of RTT for distant users.

Stacked: edge HIT ~20-40ms TTFB globally; edge MISS falls back to your cached origin.
For a US origin and EU users, CDN alone removes the latency origin cache cannot.
Takeaway: edge HIT TTFB ~30ms vs cached-origin ~80ms + 150ms RTT.
Этот пост опубликован в Telegram-канале Millisecond Mafia. Подписаться можно по ссылке: @MillisecondMafia.
tech

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

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

start

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

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

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