Cache Catch
Cache Catch
@CacheCatch

This week in caching: a diagnostic ladder for a low cache hit ratio

This week in caching: a diagnostic ladder for a low cache hit ratio

Work it top-down before you blame the config.

— Check Vary first — a Vary: Cookie or Vary: User-Agent silently splits one page into thousands of cache entries. Most common culprit.
— Hunt rogue Set-Cookie — a stray session cookie on every response (analytics plugins love this) makes everything uncacheable.
— Look for query-string noise — unnormalized utm_* and pagination params fragment the cache; normalize at the edge.
— Inspect TTL vs traffic — a 60-second TTL on a page hit once a minute caches nothing useful; match TTL to request frequency.
— Read the cache-status header — X-Cache: MISS with a reason beats guessing; enable verbose status if your layer supports it.

Credit to Andrew Betts' talks on Vary as the #1 hidden cache-buster.

Bookmark: the Cache-Status structured-header spec — standardizes the 'why did this miss' answer.
Этот пост опубликован в Telegram-канале Cache Catch. Подписаться можно по ссылке: @CacheCatch.
tech

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

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

start

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

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

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