Gzip issues with Varnish
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed May 9 18:44:55 CEST 2007
In message <922C786D-54C3-480C-88E2-93DC454B8174 at zeno.org>, Denis Ahrens writes
:
>Hi
>
>The gzip problem can be circumvented with since revision r1398.
>
>Simply add the following to a varnish vcl script:
>
>sub vcl_hash
>{
> if (req.http.Accept-Encoding) {
> set req.hash += req.http.Accept-Encoding;
> }
>}
Well, yes, I guess that does it, but depending on how many
differnet Accept-Encoding headers there are out there, your
hit-date may drop and your cache-size explode
Caveat Emptor
--
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