- Issue created by @joseph.olstad
- 🇨🇦Canada joseph.olstad
Thanks to @dsutter research, found this solution
reference here:
https://www.varnish-software.com/developers/tutorials/ban/
expect to put this in a new release of varnishvanish soon
// Expire and or purge all pdf files, pdf documents
ban obj.http.Content-Type == application/pdf
// Expire and or purge all pages with return code 200 (found ok).
ban obj.status == 200
// Expire and or purge all content (the entire varnish).
ban obj.status != 0
use the varnish terminal both 7.x and also 8.x branch versions have a similar terminal api, use that pass this, it's gonna be great.
Active
8.0
Code
Thanks to @dsutter research, found this solution
reference here:
https://www.varnish-software.com/developers/tutorials/ban/
expect to put this in a new release of varnishvanish soon