Syntax: | fastcgi_cache_lock |
---|---|
Default: | fastcgi_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 fastcgi_cache_key directive by passing a request to a FastCGI 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 fastcgi_cache_lock_timeout directive.
Please login to continue.