xin

proxy_cache_min_uses

HTTP proxy: Sets the number of requests required before caching.

Syntaxproxy_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

proxy_cache_min_uses 2;