The server may send this optional response header to control which previously cached responses should be expired after this response.
The value of this header is a URL pattern matching responses that should be expired.
For example, to expire all responses to URLs starting with /notes/
:
X-Up-Expire-Cache: /notes/*
To expire all cache entries:
X-Up-Expire-Cache: *
If the server does not send an X-Up-Expire-Cache
header, Unpoly will expire the entire cache after a non-GET request.
You may force Unpoly to keep the cache fresh after a non-GET request:
X-Up-Expire-Cache: false