Varnish Prefetch
Paras Fadte
plfgoa at gmail.com
Fri Jan 22 06:32:07 CET 2010
Hi,
Is prefetch by default enabled in varnish ? I have following in VCL . A
value of -30 seconds would mean that the object would be checked 30 seconds
before its expiry time is reached to see if its modified on backend ?
sub vcl_fetch {
set obj.grace = 30s;
if (!obj.cacheable) {
pass;
}
if (obj.http.Set-Cookie) {
pass;
}
set obj.prefetch = -30s;
deliver;
}
I see following from varnishlog . What doe that mean ?
26 VCL_info c XID 3904284923: obj.prefetch (-30) less than ttl
(-1.26414e+09), ignored.
0 VCL_call - prefetch
0 ExpPick - 3903448954 prefetch
Thank you.
-Paras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20100122/e6e24ddc/attachment-0001.html>
More information about the varnish-misc
mailing list