<div dir="ltr">Hi,<div><br></div><div>1. You already answer that one: you get a background fetch when obj.ttl <= 0 but obj.ttl + obj.grace > 0.</div><div><br></div><div>2. that just hasn't been implemented yet, if I'm not mistaken (that would be the softban feature)</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 Mon, Jul 23, 2018 at 2:16 AM, Serhii Korobov <span dir="ltr"><<a href="mailto:greyhomeua@gmail.com" target="_blank">greyhomeua@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">
<div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">
<span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span>Hi </span>developers of Varnish </span>
</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">I read information about Varnish 4 release (<span> </span><a href="https://varnish-cache.org/lists/pipermail/varnish-announce/2014-April/000696.html" style="color:rgb(17,85,204)" target="_blank">https://varnish-cache.org/li<wbr>sts/pipermail/varnish-announce<wbr>/2014-April/000696.html</a><span> </span>) and found there a new feature<span> </span><a href="http://prntscr.com/k8dgfk" style="color:rgb(17,85,204)" target="_blank">http://prntscr.com/k8d<wbr>gfk</a><span> </span>. I need an information about refreshing expired cache in background.</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">As I know from developer guide, fetching new object in background thread is available only in Grace Mode -<span> </span><a href="http://book.varnish-software.com/4.0/chapters/Saving_a_Request.html#grace-mode" style="color:rgb(17,85,204)" target="_blank">http://book.varnish-software<wbr>.com/4.0/chapters/Saving_a_<wbr>Request.html#grace-mode</a><span> </span>when object's ttl has expired but grace period is not over yet.</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">Here are my questions:</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">1. When and how can I use background cache refreshing?</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">2. Why Grace Mode and cache invalidation via "ban" command doesn't work together?</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">Thanks</div>
<br></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>
<br></blockquote></div><br></div>