Millisecond Mafia
Millisecond Mafia
@MillisecondMafia

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.
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 за пакет по сети.