- Property Manager name: Caching
- Behavior version: The
v2023-01-05
rule format supports thecaching
behavior v1.12. - Rule format status: GA, stable
- Access: Read/Write
- Allowed in includes: Yes
Control content caching on edge servers: whether or not to cache, whether to honor the origin's caching headers, and for how long to cache. Note that any NO_STORE
or BYPASS_CACHE
HTTP headers set on the origin's content overrides this behavior.
Option | Type | Description | Requires | |
---|---|---|---|---|
behavior | enum | Specify the caching option. | {"displayType":"enum","options":["MAX_AGE","NO_STORE","BYPASS_CACHE","CACHE_CONTROL_AND_EXPIRES","CACHE_CONTROL","EXPIRES"],"tag":"select"} | |
MAX_AGE | Honor the origin's | |||
NO_STORE | Clears the cache and serves from the origin. | |||
BYPASS_CACHE | Retains the cache but serves from the origin. | |||
CACHE_CONTROL_AND_EXPIRES | Honor the origin's | |||
CACHE_CONTROL | Honor the origin's | |||
EXPIRES | Honor the origin's | |||
must_revalidate | boolean | Determines what to do once the cached content has expired, by which time the Akamai platform should have re-fetched and validated content from the origin. If enabled, only allows the re-fetched content to be served. If disabled, may serve stale content if the origin is unavailable. | behavior is either: CACHE_CONTROL_AND_EXPIRES , CACHE_CONTROL , EXPIRES , MAX_AGE | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"behavior","op":"in","value":["CACHE_CONTROL_AND_EXPIRES","CACHE_CONTROL","EXPIRES","MAX_AGE"]}} |
ttl | string (duration) | The maximum time content may remain cached. Setting the value to | behavior is MAX_AGE | {"displayType":"string","tag":"input","type":"text"} {"if":{"attribute":"behavior","op":"eq","value":"MAX_AGE"}} |
default_ttl | string (duration) | Set the | behavior is either: CACHE_CONTROL_AND_EXPIRES , CACHE_CONTROL , EXPIRES | {"displayType":"string","tag":"input","type":"text"} {"if":{"attribute":"behavior","op":"in","value":["CACHE_CONTROL_AND_EXPIRES","CACHE_CONTROL","EXPIRES"]}} |
enhanced_rfc_support | boolean | This enables honoring particular | behavior is either: CACHE_CONTROL , CACHE_CONTROL_AND_EXPIRES | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"op":"and","params":[{"attribute":"behavior","op":"in","value":["CACHE_CONTROL","CACHE_CONTROL_AND_EXPIRES"]},{"attribute":"productName","op":"neq","scope":"global","value":"Wholesale_Delivery"},{"attribute":"product.name","op":"neq","scope":"global","value":"Wholesale_Delivery"}]}} |
honor_no_store | boolean | Instructs edge servers not to cache the response when the origin response includes the | enhanced_rfc_support is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enhancedRfcSupport","op":"eq","value":true}} |
honor_private | boolean | Instructs edge servers not to cache the response when the origin response includes the | behavior is either: CACHE_CONTROL , CACHE_CONTROL_AND_EXPIRES | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"behavior","op":"in","value":["CACHE_CONTROL","CACHE_CONTROL_AND_EXPIRES"]}} |
honor_no_cache | boolean | With the | enhanced_rfc_support is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enhancedRfcSupport","op":"eq","value":true}} |
honor_max_age | boolean | This instructs edge servers to cache the object for a length of time set by the | enhanced_rfc_support is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enhancedRfcSupport","op":"eq","value":true}} |
honor_s_maxage | boolean | Instructs edge servers to cache the object for a length of time set by the | enhanced_rfc_support is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enhancedRfcSupport","op":"eq","value":true}} |
honor_must_revalidate | boolean | This instructs edge servers to successfully revalidate with the origin server before using stale objects in the cache to satisfy new requests. | behavior is either: CACHE_CONTROL , CACHE_CONTROL_AND_EXPIRES | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"behavior","op":"in","value":["CACHE_CONTROL","CACHE_CONTROL_AND_EXPIRES"]}} |
honor_proxy_revalidate | boolean | With the | enhanced_rfc_support is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enhancedRfcSupport","op":"eq","value":true}} |