<div dir="ltr">From what I understand, <a href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_bypass">http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_bypass</a> is saying that your code is equivalent to:<div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">sub vcl_recv {</font></div><div><font face="monospace, monospace">    if (req.http.<span style="color:rgb(36,39,41)">cachepurge</span>) {</font></div><div><font face="monospace, monospace">        return (pass);</font></div><div><font face="monospace, monospace">    }</font></div><div><font face="monospace, monospace">}</font></div><div><br></div><div>I don't see a thing about purging, only bypassing the cache.</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 Wed, Jul 5, 2017 at 10:46 AM, Dridi Boukelmoune <span dir="ltr"><<a href="mailto:dridi@varni.sh" target="_blank">dridi@varni.sh</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Jul 5, 2017 at 10:38 AM, Quintin Par <<a href="mailto:quintinpar@gmail.com">quintinpar@gmail.com</a>> wrote:<br>
><br>
> Does hash_always_miss invalidate the cache?<br>
<br>
</span>Not as such, it will fetch a new copy regardless and once cached it<br>
will shadow the previous one (that will eventually go away).<br>
<br>
There are other means of invalidation in VCL: ban and purge. I picked<br>
hash_always_miss because that's how I interpreted nginx's<br>
proxy_cache_bypass. But I didn't check the nginx documentation, pure<br>
speculation.<br>
<div class="HOEnZb"><div class="h5"><br>
Dridi<br>
<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>
</div></div></blockquote></div><br></div>