Vary: how caches keep two versions of one URL apart
How the Vary response header tells a cache which request fields a response depends on, and why Vary: * blocks reuse without revalidation.
Topic · 6 stories
6 stories tagged caching on AI Tamer, newest first.
How the Vary response header tells a cache which request fields a response depends on, and why Vary: * blocks reuse without revalidation.
Redis memory pressure can evict a cache key or reject a write. Choose the policy by deciding which data may disappear and how the application handles a full instance.
stale-while-revalidate and stale-if-error permit different kinds of bounded staleness. Their windows start after freshness ends, and each trades current data for a specific benefit.
A source crawler can ask whether a page has changed before downloading it again. HTTP conditional requests provide the signal.
A cached response can depend on request headers as well as the URL. `Vary` tells caches which headers to compare before reuse.
A practical guide to using Redis for response caches, request limits, agent queues, session memory and vector retrieval, with the correctness and licensing trade-offs to check first.