proxy cache lock responses always has 500ms delay
Roman Arutyunyan
arut at nginx.com
Wed Sep 13 12:09:55 UTC 2017
On Wed, Sep 13, 2017 at 07:47:25AM -0400, sivasara wrote:
> Ah.. thanks for the reply.
> 500ms seems too large. Is there any way to decrease this wait time?
Currently there's no way to change 500ms to a different value. What you can do
is reduce proxy_cache_lock_timeout (5s by default) to make the requests which
wait longer proceed with uncached proxying. In fact, once this timeout expires,
you will have the last chance to check if the resource is already unlocked.
--
Roman Arutyunyan
More information about the nginx
mailing list