This feature controls the generation of Cache-Control headers by the edge server when External Max-Age feature is active. The easiest way to achieve this type of configuration is to place the External Max-Age and the Cache-Control Header Treatment features in the same statement.
Value | Result |
---|---|
Overwrite |
Ensures that the following actions will take place:
|
Pass Through |
Ensures that the Cache-Control header produced by the External Max-Age feature is never added to the response. If the origin server produces a Cache-Control header, it will pass through to the end-user. If the origin server does not produce a Cache-Control header, then this option may cause the response header to not contain a Cache-Control header. |
Add if Missing |
If a Cache-Control header was not received from the origin server, then this option adds the Cache-Control header produced by the External Max-Age feature. This option is useful for ensuring that all assets will be assigned a Cache-Control header. |
Remove | This option ensures that a Cache-Control header is not included with the header response. If a Cache-Control header has already been assigned, then it will be stripped from the header response. |
Default Behavior: Overwrite.