Problems getting Varnish to cache certain things

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Jun 12 23:42:39 CEST 2009


In message <41184.118.93.77.92.1244834146.squirrel at services.directender.co.nz>,
 "Darryl Dixon - Winterhouse Consulting" writes:
>Hi Anders,
>
>If you perform certain actions in vcl_hit, Varnish will mark the object as
>a 'hit for pass' which means that from then on it will always simply pass
>every matching request to the backend. A restart clears this. If I recall
>correctly, one of the triggers is using 'pass' inside vcl_hit or
>vcl_fetch.

Only pass in vcl_fetch will create a "hit for pass" object.

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