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