scgi_cache_valid
SCGI: Sets the cache lifetime for response status codes.
| Syntax | scgi_cache_valid [code ...] time; |
|---|---|
| Contexts | httpserverlocation |
Behavior
Use with the matching upstream handler and a configured cache zone. Child-scope cache lists replace inherited lists.
Example
scgi_cache_valid 200 10m;