- Property Manager name: Caching
- Behavior version: The
latest
rule format supports thecaching
behavior v1.12. - Rule format status: Beta, possible breaking changes
- Access: Read/Write
- Allowed in includes: Not available for
latest
rule format
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 override this behavior. For more details on how caching works in Property Manager, see the Learn about caching section in the guide.
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 | |||
mustRevalidate | 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"}} |
defaultTtl | 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"]}} |
enhancedRfcSupport | 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"}]}} |
honorNoStore | boolean | Instructs edge servers not to cache the response when the origin response includes the | enhancedRfcSupport is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enhancedRfcSupport","op":"eq","value":true}} |
honorPrivate | 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"]}} |
honorNoCache | boolean | With the | enhancedRfcSupport is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enhancedRfcSupport","op":"eq","value":true}} |
honorMaxAge | boolean | This instructs edge servers to cache the object for a length of time set by the | enhancedRfcSupport is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enhancedRfcSupport","op":"eq","value":true}} |
honorSMaxage | boolean | Instructs edge servers to cache the object for a length of time set by the | enhancedRfcSupport is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enhancedRfcSupport","op":"eq","value":true}} |
honorMustRevalidate | 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"]}} |
honorProxyRevalidate | boolean | With the | enhancedRfcSupport is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enhancedRfcSupport","op":"eq","value":true}} |