On Mon, 08 Nov 2010 18:33:37 +0200, Adrian Dascalu
<[email protected]> wrote:
> Done some new tests and I found out that caching an URL that has a 
> different X-Username header will invalidate the other version of that 
> object.

Aha, you can disregard my earlier reply.

> 
> Is this the intended behaviour?

Yes.

> I mean, Vary header will just inform 
> there is a new version so everything else is discarded?

No, vary header informs Squid whether the cached object may be served or a
second fetched. The headers of the new reply informs whether to invalidate
the old copy.

> If so, is there 
> a method for cacheing multiple versions of the same URL ?

Unique ETag headers are required for that.

Amos

Reply via email to