setting obj.prefetch

Eran Sandler eran at sandler.co.il
Tue Apr 13 10:58:13 CEST 2010


Hello all,

Prior to Varnish 2.1 I was able to set the obj.prefetch in the vcl_fetch
function so that for different items being fetched I have a different
prefetch time.
I'm not sure if that was the correct place for Varnish prior to 2.1 but it
worked.

In Varnish 2.1 obj in vcl_fetch is read only. What is the best place to set
the prefetch value? vcl_recv ?

Thanks,
Eran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20100413/4fcd1f08/attachment-0003.html>


More information about the varnish-dev mailing list