Cache Catch
Cache Catch
@CacheCatch

This week in caching: edge cache vs origin cache — not either/or

This week in caching: edge cache vs origin cache — not either/or

The framing that fixes muddled cache strategies:

— Origin cache (Varnish/FastCGI/object cache) protects your database and app server. It's where personalized-but-cacheable fragments and TTL logic live.
— Edge cache (CDN PoPs) protects your origin from distance and volume. It's where truly anonymous, identical responses should terminate so requests never reach your box.
— The mistake: caching only at one layer. Edge-only means a purge or cache-miss storm hammers a naked origin; origin-only means every user still pays the network RTT to your single datacenter.

Layer them: long edge TTL for static + anonymous HTML, shorter origin TTL with tag-based purge underneath as the safety net.

Bookmark: Fastly's 'multi-tier caching' explainer — the mental model of cache as concentric shields.
Этот пост опубликован в Telegram-канале Cache Catch. Подписаться можно по ссылке: @CacheCatch.
tech

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

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

start

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

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

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