Response Headers
Response Headers¶
In this phase, the headers sent from the origin to the end user are modified or set. This is essential for setting cache instructions or adjusting other header values for efficient delivery and control.
Example: Applying cache tags to images to simplify their removal from a CDN when updated.
Actions¶
cache.add_tags
: Adds one or more cache tags to the response for efficient group purging.http.response.headers.set
: Changes or adds a new response header. If the value is empty, the header will be removed.http.response.headers.remove
: Removes specified response headers.
Fields¶
Available fields in the Response Headers phase: