Problems getting Varnish to cache certain things

Darryl Dixon - Winterhouse Consulting darryl.dixon at winterhouseconsulting.com
Wed Jun 17 06:18:14 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.

Hrm. When did this change? We tested and confirmed in 2.0.3(?) that
pass'ing out of vcl_hit caused the hit-for-pass behaviour.

regards,
Darryl Dixon
Winterhouse Consulting Ltd
http://www.winterhouseconsulting.com



More information about the varnish-misc mailing list