On Fri, 19 Mar 2004 [EMAIL PROTECTED] wrote:

> hi, i am using squid 2.5S4.
> as a webserver, i am using apache 1.3.29 together with mod_gzip (newest
> version).
> 
> if my webserver responds with a vary:* header, this reply is cached by
> squid, and all subsequent request, with accept-encoding:gzip header or
> not, are cached until i refresh the object.
> 
> i thought i had read, that squid will NOT cache objects with vary:*
> header, but in my configuration it does. i verify this with a request
> like
>
> echo -e "GET /index.html HTTP/1.0\naccept-encoding:gzip\n\n" | netcat proxy
> 80
> and see a proxy hit together with vary:*.
> 
> do i understand something wrong???

This is a bug.. actually already registered in the bug database as Bug
#426 but for some reason I overlooked this for 2.5.STABLE5.. (I probably
thought it was about the other issue that "Vary: *" can not match... not
that these was cached)

I have now uploaded a patch for this issue. Please give it a test.

I have not tested what happens with existing "Vary: *" objects in the 
cache but I think it should work for these as well.

Regards
Henrik

Reply via email to