Cache Catch
Cache Catch
@CacheCatch

This week in caching: Varnish VCL that earns its keep

This week in caching: Varnish VCL that earns its keep
Four VCL snippets worth stealing:
— Cache-key normalization — stripping marketing query params (utm_*, fbclid, gclid) in vcl_hash so one page isn't cached 40 ways; instant hit-rate win.
— Grace mode done right — keeping objects in grace so a slow backend never shows a user an error; the config most defaults get wrong.
— Cookie handling — why a single analytics cookie tanks your hit ratio and how to sanitize Set-Cookie before vcl_recv.
— Ban vs purge vs xkey — the practical differences for selective invalidation at scale.
Credits: the Varnish Software docs and Thijs Feryn's talks.
Bookmark: the query-param normalization snippet — five lines, often doubles hit rate.
Этот пост опубликован в Telegram-канале Cache Catch. Подписаться можно по ссылке: @CacheCatch.
tech

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

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

start

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

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

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