Cache Catch
Cache Catch
@CacheCatch

This week in caching: microcaching, the 1-second miracle

This week in caching: microcaching, the 1-second miracle
Three on caching "uncacheable" dynamic pages for one second.
— proxy_cache for 1s — even proxy_cache_valid 200 1s; collapses a traffic spike of identical requests into one origin hit; dynamic content stays effectively live.
— cache lock to prevent dogpiling — pair with proxy_cache_lock on; so only one request repopulates an expired key.
— use_stale on errors — proxy_cache_use_stale updating error timeout; serves the last good copy while origin recovers.
Bookmark: the NGINX microcaching blog post — "cache the uncacheable for one second" reframes what's cacheable for most dynamic sites.
Этот пост опубликован в Telegram-канале Cache Catch. Подписаться можно по ссылке: @CacheCatch.
tech

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

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

start

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

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

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