Invalidate URL cache with http header

Quintin Par quintinpar at gmail.com
Wed Jul 5 10:04:49 CEST 2017


Nginx has a nifty command for invalidating a specific cache

proxy_cache_bypass $http_cachepurge;

curl -I myapp.example.com/api/ping -H "cachepurge: true"

Is there something equivalent in varnish?
- Quintin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20170705/29385fe4/attachment.html>


More information about the varnish-misc mailing list