Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_fastcgi_module.xml @ 505:837bcf62b628
Emphasized on what the "updating" parameter of the "fastcgi_cache_use_stale"
directive achieves. Referenced the "fastcgi_cache_lock" directive from there,
which has similar effect when populating a new cache element.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 24 Apr 2012 07:24:22 +0000 |
parents | 65843513cff5 |
children | 657848837328 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Tue Apr 24 06:54:47 2012 +0000 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Tue Apr 24 07:24:22 2012 +0000 @@ -279,8 +279,19 @@ This directives determines in which cases it is permitted. The directive’s parameters match those of the <link id="fastcgi_next_upstream"/> directive. +</para> + +<para> Additionally, the <literal>updating</literal> parameter permits to use a stale cached response if it is currently being updated. +This allows to minimize the number of accesses to FastCGI servers +when updating cached data. +</para> + +<para> +To minimize the number of accesses to FastCGI servers when +populating a new cache element, the <link id="fastcgi_cache_lock"/> +directive can be used. </para> </directive>