Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_fastcgi_module.xml @ 1379:91f5c089f4ca
Documented fastcgi_cache_lock_age and look-alikes.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 19 Dec 2014 12:26:10 +0300 |
parents | 25db29c8875e |
children | 94cac978bda3 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Thu Dec 18 14:32:53 2014 +0300 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Fri Dec 19 12:26:10 2014 +0300 @@ -10,7 +10,7 @@ <module name="Module ngx_http_fastcgi_module" link="/en/docs/http/ngx_http_fastcgi_module.html" lang="en" - rev="24"> + rev="25"> <section id="summary"> @@ -241,6 +241,24 @@ </directive> +<directive name="fastcgi_cache_lock_age"> +<syntax><value>time</value></syntax> +<default>5s</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.7.8</appeared-in> + +<para> +If the last request passed to the FastCGI server +for populating a new cache element +has not completed for the specified <value>time</value>, +one more request may be passed to the FastCGI server. +</para> + +</directive> + + <directive name="fastcgi_cache_lock_timeout"> <syntax><value>time</value></syntax> <default>5s</default> @@ -251,6 +269,12 @@ <para> Sets a timeout for <link id="fastcgi_cache_lock"/>. +When the <value>time</value> expires, +the request will be passed to the FastCGI server, +however, the response will not be cached. +<note> +Before 1.7.8, the response could be cached. +</note> </para> </directive>