Varnish Prefetch
Paras Fadte
plfgoa at gmail.com
Mon Jan 25 03:20:19 CET 2010
Can anybody please respond to this query ?
Thank you.
On Fri, Jan 22, 2010 at 11:02 AM, Paras Fadte <plfgoa at gmail.com> wrote:
> 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/20100125/542b66f3/attachment-0001.html>
More information about the varnish-misc
mailing list