- Property Manager name: Cache HTTP Error Responses
- Behavior version: The
v2023-01-05
rule format supports thecache_error
behavior v1.1. - Rule format status: GA, stable
- Access: Read/Write
- Allowed in includes: Yes
Caches the origin's error responses to decrease server load. Applies for 10 seconds by default to the following HTTP codes: 204
, 305
, 400
, 404
, 405
, 501
, 502
, 503
, 504
, and 505
.
Option | Type | Description | Requires | |
---|---|---|---|---|
enabled | boolean | Activates the error-caching behavior. | {"displayType":"boolean","tag":"input","type":"checkbox"} | |
ttl | string (duration) | Overrides the default caching duration of | {"displayType":"string","tag":"input","type":"text"} {"if":{"attribute":"enabled","op":"eq","value":true}} | |
preserve_stale | boolean | When enabled, the edge server preserves stale cached objects when the origin returns | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enabled","op":"eq","value":true}} |