xin

uwsgi_cache_use_stale

UWSGI: Selects when stale cached responses may be served.

Syntaxuwsgi_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

uwsgi_cache_use_stale error timeout updating;