Millisecond Mafia
Millisecond Mafia
@MillisecondMafia

Myth: A CDN fixes slow TTFB

Myth: A CDN fixes slow TTFB
Added CDN: TTFB 620ms -> 600ms. Expected sub-100ms. Why?
TTFB (time to first byte) = network RTT + server think-time. A CDN cuts network distance, not your origin's database/render time.
— If 540ms of that 620ms is uncached PHP rendering, the CDN only trims the ~80ms transport leg.
— Cache the HTML at the edge and TTFB 620ms -> 90ms. The win is edge-caching the response, not merely fronting it with a CDN.
Uncacheable dynamic HTML behind a CDN stays slow.
Takeaway: only edge-cached HTML drops TTFB; a CDN alone trimmed 20ms.
Этот пост опубликован в Telegram-канале Millisecond Mafia. Подписаться можно по ссылке: @MillisecondMafia.
tech

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

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

start

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

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

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