HTTP proxy directives
proxy_cache_lock directive
HTTP, server, location context. Default: off. Introduced: 1.1.12. Coordinates cache fills per key; waiting can be bounded.
Formal Syntax & Structure
nginx syntaxnginx
proxy_cache_lock on | off;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| state | on | off | Coordinate population of one missing cache key. |
Working Example
Example Snippetnginx
proxy_cache_lock on;