Cache Catch
Cache Catch
@CacheCatch

This week in caching: cache your failures too

This week in caching: cache your failures too
Three on negative caching — the cheap win nobody configures.
— cache 404s briefly — a flood of requests to a missing URL otherwise hammers origin every time; proxy_cache_valid 404 1m; in nginx absorbs it.
— cache 5xx with care — short TTLs on errors plus stale-if-error keep a wobbling backend from a death spiral; don't cache them long or you bake in the outage.
— DNS negative caching (NXDOMAIN) — the often-forgotten layer; misconfigured SOA minimum TTL means typo'd lookups keep slamming resolvers.
Bookmark: nginx's proxy_cache_valid per-status reference — five minutes of config, real origin relief.
Этот пост опубликован в Telegram-канале Cache Catch. Подписаться можно по ссылке: @CacheCatch.
tech

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

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

start

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

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

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