Negative response caching
Configuration Variable | Data Type | Description |
---|---|---|
proxy.config.http.negative_ caching_enabled | INT |
Default: 0 When enabled (1), Content Gateway caches negative responses, such as 404 Not Found, if a requested page does not exist. The next time a client requests the same page, Content Gateway serves the negative response from the cache. |
Content Gateway caches the following negative responses: | ||
204 No Content | ||
305 Use Proxy | ||
400 Bad Request | ||
403 Forbidden | ||
404 Not Found | ||
405 Method Not Allowed | ||
500 Internal Server Error | ||
501 Not Implemented | ||
502 Bad Gateway | ||
503 Service Unavailable | ||
504 Gateway Timeout | ||
proxy.config.http.negative_ | INT | Default: 1800 |
caching_lifetime | Specifies how long Content Gateway | |
keeps the negative responses as valid in | ||
cache. |