xin

uwsgi_cache

UWSGI: Selects the response-cache zone.

Syntaxuwsgi_cache zone | off;
Contextshttpserverlocation

Behavior

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

An explicit uwsgi_cache_key is required.

Example

uwsgi_cache responses;