A new varnish slide-show

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Mar 26 23:15:54 CET 2008


In message <C98BC4F9-D52D-4195-BD91-8101E7C2D3C7 at digitalmarbles.com>, Ricardo N
ewbery writes:

>> With respect to pass:
>>
>> 	if you choose pass in vcl_recv(), nothing is cached.
>>
>> 	if you choose pass in vcl_fetch(), a "cannot be cached"
>> 	pseudo-object is cached.
>
>
>Is this behavior controlled in vcl at all?  In the default vcl, I also  
>see vcl_fetch directing to "pass" in a couple of places.  This looks  
>like a loop if I believe the flowchart.

No, pass from vcl_fetch() means "the object we just got cannot be
cached", it does not go to the vcl_pass() because it already has
picked up the object, we don't need to do so again.

-- 
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