Invalidate URL cache with http header

Dridi Boukelmoune dridi at varni.sh
Wed Jul 5 10:46:31 CEST 2017


On Wed, Jul 5, 2017 at 10:38 AM, Quintin Par <quintinpar at gmail.com> wrote:
>
> Does hash_always_miss invalidate the cache?

Not as such, it will fetch a new copy regardless and once cached it
will shadow the previous one (that will eventually go away).

There are other means of invalidation in VCL: ban and purge. I picked
hash_always_miss because that's how I interpreted nginx's
proxy_cache_bypass. But I didn't check the nginx documentation, pure
speculation.

Dridi



More information about the varnish-misc mailing list