Skip to content

v1.22

Compare
Choose a tag to compare
@pintsized pintsized released this 26 May 15:42
· 1009 commits to master since this release

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!