Make the cache lock sleep configurable
July 28, 2022 09:17AM
When using the nginx proxy cache, you have the option to set the cache lock, see

http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_lock

The downside of this is, that once the cache is locked, there is a polling for subsequent requests to wait for 500ms before checking if the cache lock has expired. There is a "workaround" by just setting the cache lock timeout on something lower, but this is not the ideal solution and beats the purpose of the cache lock. We would like to decrease the cache lock sleep, preferable by making this a configurable setting

Is there any reason against this? Would it be feasible to make this a configurable option?
Re: Make the cache lock sleep configurable
October 07, 2022 03:17AM
+ follow topic
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 138
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready