<b>This week in caching: the cache-key mistakes that quietly kill hit rate</b>
Three pieces on why your cache is "working" but never hitting.
— <b>Vary: Cookie is a hit-rate grenade</b> — any unique cookie fragments the cache per-user; the fix is stripping analytics cookies at the edge before they reach the cache key.
— <b>query-string normalization</b> — <code>?utm_source=...</code> and reordered params spawn distinct keys for identical content; sort and whitelist params in your VCL or worker.
— <b>cardinality math you should run once</b> — device × locale × A/B-bucket multiplies key count fast; a back-of-envelope estimate tells you if you're caching at all.
<b>Bookmark:</b> the CDN-agnostic "cache key normalization" pattern — applies whether you're on Cloudflare, Fastly, or nginx.
Cache Catch
@CacheCatch
<b>This week in caching: the cache-key mistakes that quietly kill hit rate</b>
Этот пост опубликован в Telegram-канале Cache Catch. Подписаться можно по ссылке: @CacheCatch.