proxy_cache_lock

Syntax: proxy_cache_lock on | off;
Default: proxy_cache_lock off;
Context: http, server, location

This directive appeared in version 1.1.12.

When enabled, only one request at a time will be allowed to populate a new cache element identified according to the proxy_cache_key directive by passing a request to a proxied server. Other requests of the same cache element will either wait for a response to appear in the cache or the cache lock for this element to be released, up to the time set by the proxy_cache_lock_timeout directive.

doc_nginx
2017-02-09 07:08:08
Comments
Leave a Comment

Please login to continue.