<div dir="ltr">Hello,<div><br></div><div>You are discovering grace :-)</div><div><br></div><div><a href="https://varnish-cache.org/docs/trunk/users-guide/vcl-grace.html">https://varnish-cache.org/docs/trunk/users-guide/vcl-grace.html</a><br></div><div><br></div><div>"set beresp.grace = 0s;" should do it.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>-- <br></div>Guillaume Quintard<br></div></div></div>
<br><div class="gmail_quote">On Thu, May 17, 2018 at 5:44 PM, Prem Kumar <span dir="ltr"><<a href="mailto:n.premkumar.me@gmail.com" target="_blank">n.premkumar.me@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div> We are 2 behaviors on Varnish 5:</div><div><br></div><div>- if we set ttl = 600s , we are seeing HIT is serving the content over 10s . Origin is not changing the content and we are NOT sending if_modified_since header.</div><div><br></div><div><div>-   VCL_return     lookup</div><div>-   Hit            527698198 <b>-0.990171<<<<  why it is a hit but ttl is negative value </b> 0.000000 0.000000</div><div>-   VCL_call       HIT</div><div>-   VCL_Log        hit index: 305</div><div>-   VCL_Log        x-cache-hit:Buffer</div><div>-   VCL_Log        rsp-source:Buffer</div><div>-   VCL_Log        x-ingest:false</div><div>-   VCL_return     deliver</div><div>-   Link           bereq 288421900 bgfetch</div><div>-   Timestamp      Fetch: 1526569247.693528 0.000478 0.000478</div><div>-   RespProtocol   HTTP/1.1</div><div>-   RespStatus     403</div></div><div><br></div><div><br></div><div>- How to disable background fetch ?. <br><div><br></div><div>Thanks,</div><div>Prem</div></div></div>
<br>______________________________<wbr>_________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" rel="noreferrer" target="_blank">https://www.varnish-cache.org/<wbr>lists/mailman/listinfo/<wbr>varnish-misc</a><br></blockquote></div><br></div>