Varnish Hash

Poul-Henning Kamp phk at
Thu Dec 6 23:34:36 CET 2007

In message <d4284sx3kke05yf.061220071449 at>, Erik writes:
>Just to make this clear, does varnish identify an object like this in vcl_hash?
>         sub vcl_hash {
>             set req.hash += req.url;
>             set req.hash +=;
>             hash;
>         }

Well, mostly.  That is the primary identification, but each match
can have multiple different objects, depending on the Vary header
and ttl.

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