hash with Accept-Encoding

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Feb 3 09:38:06 CET 2008


In message <56F36529-29BF-417F-B314-6C72127751EA at digitalmarbles.com>, Ricardo N
ewbery writes:
>
>I came across this line in an example vcl which confused me...
>
>sub vcl_hash {
>     set req.hash += req.http.Accept-Encoding;
>}
>
>
>This line seemed superfluous to me since it was my impression that  
>varnish already took care of this automatically as long as the Vary  
>header was set correctly.  Is this not the case?

Correct.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list