Can anybody please respond to this query ?

Thank you.

On Fri, Jan 22, 2010 at 11:02 AM, Paras Fadte <[email protected]> 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
>
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to