<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" target="_blank" style="color:rgb(17,85,204)">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" target="_blank" style="color:rgb(17,85,204)">http://prntscr.com/<wbr>k8dgfk</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" target="_blank" style="color:rgb(17,85,204)">http://book.varnish-<wbr>software.com/4.0/chapters/<wbr>Saving_a_Request.html#grace-<wbr>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>