Set Cacheable Status Codes
Category: Caching
Purpose: Defines the set of status codes that can result in cached content.
By default, caching is only enabled for 200 OK responses.
Define a space-delimited set of the desired status codes.
Key information:
- Please also enable the Ignore Origin No-Cache feature. If that feature is not enabled, then non-200 OK responses may not be cached.
-
The set of valid status codes for this feature are:
200 | 203 | 300 | 301 | 302 | 305 | 307 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 429 | 451 | 500 | 501 | 502 | 503 | 504 | 505
- This feature cannot be used to disable caching for responses that generate a 200 OK status code.
Default Behavior: Caching is only enabled for responses that generate a 200 OK status code.