scgi_cache_lock

Syntax: scgi_cache_lock on | off;
Default: scgi_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 scgi_cache_key directive by passing a request to an SCGI 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 scgi_cache_lock_timeout directive.

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

Please login to continue.