Purging on PUT and DELETE

Martynas Jusevičius martynas at atomgraph.com
Thu Mar 19 10:04:22 UTC 2020


Hi,

upon receiving a PUT or DELETE request, I'd like Varnish to invalidate
the current object (and its variants) *and* to pass the request to the
backend.

Essentially the same question as here:
https://serverfault.com/questions/399814/varnish-purge-on-post-or-put
The answer seems outdated though.

I consider this a common use case for REST CRUD APIs, so I was
surprised not to find a single VCL example mentioning it.


Martynas


More information about the varnish-misc mailing list