Why "pass" object goes to vcl_hash?
Lasse Karstensen
lkarsten at varnish-software.com
Thu Apr 4 12:42:12 CEST 2013
On Thu, Mar 28, 2013 at 03:07:57PM +0800, Kelvin Loke wrote:
> This was bothering me for quite some time. I looked through the Varnish
> Book detailed request flow diagram, an object that is "pass" in vcl_recv()
> will go straight to vcl_pass() -> vcl_fetch() -> vcl_deliver().
> But the varnishlog below tells me otherwise, why an object that is "pass"
> in vcl_recv still needs to go to vcl_hash()?
Hi Kelvin.
Great question. In vcl_fetch we need a hash value for the directors that do
load balancing on backends.
--
With regards,
Lasse Karstensen
Varnish Software AS
More information about the varnish-misc
mailing list