xin

proxy_cache_use_stale

HTTP proxy: Selects when stale cached responses may be served.

Syntaxproxy_cache_use_stale condition ... | off;
Contextshttpserverlocation

Behavior

Use with the matching upstream handler and a configured cache zone. Child-scope cache lists replace inherited lists.

Example

proxy_cache_use_stale error timeout updating;