if(req.request=="PURGE")

here what is PURGE and Where to set PURGE variable . please help me out.

PURGE is a http request type (like GET or POST).
It’s typically used for cache invalidation https://www.varnish-software.com/static/book/Cache_invalidation.html


A simple way to craft a PURGE request is by using curl for example: curl -I -X PURGE http://yoursite.org/yourfile


rr

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to