v1.22
New feature: Revalidate-on-purge
We now support an X-Purge request header on PURGE requests, which can specify "revalidate" or "delete". Delete hard deletes the item (instead of just expiring, which might be served stale still depending on your setup).
Revalidate will first expire the item, before scheduling a background job to revalidate. This only happens if the item previously existed.
In the case of a wildcard PURGE (i.e. PURGE by pattern) the PURGE itself is backgrounded (because the scan can take a while), and revalidation jobs are spawned for each item matching the pattern. Be careful what you wish for!