Skip to content
Networking·Advanced·Conceptual·1 min read

Why can Vary: Cookie destroy cache efficiency?

Short interview answer

It can create a distinct representation key for many cookie values, fragmenting a shared cache. Prefer separating personalized and public resources or varying on narrow signals.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to HTTP caching

Related questions