xin

proxy_cache_background_update

HTTP proxy: Updates stale cache entries in the background.

Syntaxproxy_cache_background_update on | off;
Contextshttpserverlocation

Behavior

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

Example

proxy_cache_background_update on;