Expires Header Treatment

Applies To:
HTTP Large
HTTP Small
ADN
HTTP Rules Engine - Basic Rules
HTTP Rules Engine - Advanced Rules

This feature controls the generation of Expires headers by an edge server when the External Max-Age feature is active. The easiest way to achieve this type of configuration is to place the External Max-Age and the Expires Header Treatment features in the same statement.

Value Result
Overwrite

Ensures that the following actions will take place:

  • Overwrites the Expires header generated by the origin server.
  • Adds the Expires header produced by the External Max-Age feature to the response.
Pass Through

Ensures that the Expires header produced by the External Max-Age feature is never added to the response.

If the origin server produces an Expires header, it will pass through to the end-user.

If the origin server does not produce an Expires header, then this option may cause the response header to not contain an Expires header.

Add if Missing If an Expires header was not received from the origin server, then this option adds the Expires header produced by the External Max-Age feature. This option is useful for ensuring that all assets will be assigned an Expires header.
Remove Ensures that an Expires header is not included with the header response. If an Expires header has already been assigned, then it will be stripped from the header response.

Default Behavior: Overwrite