xin

uwsgi_cache_min_uses

UWSGI: Sets the number of requests required before caching.

Syntaxuwsgi_cache_min_uses number;
Contextshttpserverlocation

Behavior

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

Example

uwsgi_cache_min_uses 2;