xin

uwsgi_cache_key

UWSGI: Defines the cache key.

Syntaxuwsgi_cache_key string;
Contextshttpserverlocation

Behavior

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

Example

uwsgi_cache_key "$scheme$request_method$host$request_uri";