# HG changeset patch # User Yaroslav Zhuravlev # Date 1418902844 -10800 # Node ID 6e54b85dfb86160d71d6fb8b6a44ddd87b86504c # Parent ab0ebdd7ddac5fa31631ffcdd23b6c5bbd68a161 Documented the "proxy_cache_lock_age" directive. diff --git a/xml/en/docs/http/ngx_http_proxy_module.xml b/xml/en/docs/http/ngx_http_proxy_module.xml --- a/xml/en/docs/http/ngx_http_proxy_module.xml +++ b/xml/en/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ + rev="33">
@@ -239,6 +239,24 @@ this element to be released, up to the t + +time +5s +http +server +location +1.7.8 + + +If the last request passed to the proxied server +for populating a new cache element +has not completed for the specified time, +one more request may be passed to the proxied server. + + + + + time 5s @@ -249,6 +267,12 @@ this element to be released, up to the t Sets a timeout for . +When the time expires, +the request will be passed to the proxied server, +however, the response will not be cached. + +Before 1.7.8, the response could be cached. + diff --git a/xml/ru/docs/http/ngx_http_proxy_module.xml b/xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ + rev="33">
@@ -238,6 +238,24 @@ proxy_cache_key $scheme$proxy_host$uri$i + +время +5s +http +server +location +1.7.8 + + +Если последний запрос, переданный на проксируемый сервер +для заполнения нового элемента кэша, +не завершился за указанное время, +на проксируемый сервер может быть передан ещё один запрос. + + + + + время 5s @@ -248,6 +266,12 @@ proxy_cache_key $scheme$proxy_host$uri$i Задаёт таймаут для . +По истечении указанного времени +запрос будет передан на проксируемый сервер, +однако ответ не будет закэширован. + +До версии 1.7.8 такой ответ мог быть закэширован. +