Christian Biesinger wrote:
> Brian Smith <[email protected]> wrote:
> > these headers every time they change. (And we need to assume an
> > implicit "Vary: User-Agent" on every cached response, considering
> > how often Vary: User-Agent is wrongly omitted.)

A literal application of that idea is not realistic because we change U-A for 
every release. But, this is something to keep in mind if we make any (more) 
major changes other than version numbers.

> Yeah, we don't store all request headers. We store a hash of the
> cookie header, and we store all headers that were specified in Vary.

Couldn't/shouldn't we store a hash of all the headers that were specified in 
Vary too, instead of storing their values? Maybe we could even combine it with 
the cookie hash. This would be more space-efficient.

- Brian
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to