Cache Invalidation
Flush-URL
curl -X BAN -H "secret: <Token>" -H "url: /" https://www.example.com/
# OR
curl -X BAN -H "secret: <Token>" https://www.example.com/url_to_invalidateFlush-File
curl -X BAN -H "secret: <Token>" -H "cache-file: 469640790ad5bda4d1cc6a19f6770214.html" https://www.example.com/Flush-Tags
curl -X BAN -H "secret: <Token>" -H "tags: foo" https://www.example.com/
# Tags are created through the "x-cache-tags: foo, bar" header.Flush-All
Last updated
Was this helpful?