changeset 1542:a13a99cf46ea

Better documented "*_cache_use_stale error".
author Ruslan Ermilov <ru@nginx.com>
date Thu, 06 Aug 2015 12:54:04 +0300
parents 6b7c82be83bb
children 08242a0abf11
files xml/en/docs/http/ngx_http_fastcgi_module.xml xml/en/docs/http/ngx_http_proxy_module.xml xml/en/docs/http/ngx_http_scgi_module.xml xml/en/docs/http/ngx_http_uwsgi_module.xml xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_scgi_module.xml xml/ru/docs/http/ngx_http_uwsgi_module.xml
diffstat 8 files changed, 56 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml
+++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_fastcgi_module"
         link="/en/docs/http/ngx_http_fastcgi_module.html"
         lang="en"
-        rev="29">
+        rev="30">
 
 <section id="summary">
 
@@ -500,6 +500,12 @@ The directive’s parameters match the parameters of the
 </para>
 
 <para>
+The <literal>error</literal> parameter also permits
+using a stale cached response if a FastCGI server to process a request
+cannot be selected.
+</para>
+
+<para>
 Additionally, the <literal>updating</literal> parameter permits
 using a stale cached response if it is currently being updated.
 This allows minimizing the number of accesses to FastCGI servers
--- a/xml/en/docs/http/ngx_http_proxy_module.xml
+++ b/xml/en/docs/http/ngx_http_proxy_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_proxy_module"
         link="/en/docs/http/ngx_http_proxy_module.html"
         lang="en"
-        rev="39">
+        rev="40">
 
 <section id="summary">
 
@@ -500,6 +500,12 @@ The directive’s parameters match the parameters of the
 </para>
 
 <para>
+The <literal>error</literal> parameter also permits
+using a stale cached response if a proxied server to process a request
+cannot be selected.
+</para>
+
+<para>
 Additionally, the <literal>updating</literal> parameter permits
 using a stale cached response if it is currently being updated.
 This allows minimizing the number of accesses to proxied servers
--- a/xml/en/docs/http/ngx_http_scgi_module.xml
+++ b/xml/en/docs/http/ngx_http_scgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_scgi_module"
         link="/en/docs/http/ngx_http_scgi_module.html"
         lang="en"
-        rev="18">
+        rev="19">
 
 <section id="summary">
 
@@ -491,6 +491,12 @@ The directive’s parameters match the parameters of the
 </para>
 
 <para>
+The <literal>error</literal> parameter also permits
+using a stale cached response if an SCGI server to process a request
+cannot be selected.
+</para>
+
+<para>
 Additionally, the <literal>updating</literal> parameter permits
 using a stale cached response if it is currently being updated.
 This allows minimizing the number of accesses to SCGI servers
--- a/xml/en/docs/http/ngx_http_uwsgi_module.xml
+++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_uwsgi_module"
         link="/en/docs/http/ngx_http_uwsgi_module.html"
         lang="en"
-        rev="21">
+        rev="22">
 
 <section id="summary">
 
@@ -491,6 +491,12 @@ The directive’s parameters match the parameters of the
 </para>
 
 <para>
+The <literal>error</literal> parameter also permits
+using a stale cached response if a uwsgi server to process a request
+cannot be selected.
+</para>
+
+<para>
 Additionally, the <literal>updating</literal> parameter permits
 using a stale cached response if it is currently being updated.
 This allows minimizing the number of accesses to uwsgi servers
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml
+++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_fastcgi_module"
         link="/ru/docs/http/ngx_http_fastcgi_module.html"
         lang="ru"
-        rev="29">
+        rev="30">
 
 <section id="summary">
 
@@ -497,6 +497,12 @@ server {
 </para>
 
 <para>
+Параметр <literal>error</literal> также позволяет использовать
+устаревший закэшированный ответ при невозможности выбора
+FastCGI-сервера для обработки запроса.
+</para>
+
+<para>
 Кроме того, дополнительный параметр <literal>updating</literal>
 разрешает использовать устаревший закэшированный ответ,
 если на данный момент он уже обновляется.
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml
+++ b/xml/ru/docs/http/ngx_http_proxy_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_proxy_module"
         link="/ru/docs/http/ngx_http_proxy_module.html"
         lang="ru"
-        rev="39">
+        rev="40">
 
 <section id="summary">
 
@@ -498,6 +498,12 @@ server {
 </para>
 
 <para>
+Параметр <literal>error</literal> также позволяет использовать
+устаревший закэшированный ответ при невозможности выбора
+проксированного сервера для обработки запроса.
+</para>
+
+<para>
 Кроме того, дополнительный параметр <literal>updating</literal>
 разрешает использовать устаревший закэшированный ответ,
 если на данный момент он уже обновляется.
--- a/xml/ru/docs/http/ngx_http_scgi_module.xml
+++ b/xml/ru/docs/http/ngx_http_scgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_scgi_module"
         link="/ru/docs/http/ngx_http_scgi_module.html"
         lang="ru"
-        rev="18">
+        rev="19">
 
 <section id="summary">
 
@@ -488,6 +488,12 @@ server {
 </para>
 
 <para>
+Параметр <literal>error</literal> также позволяет использовать
+устаревший закэшированный ответ при невозможности выбора
+SCGI-сервера для обработки запроса.
+</para>
+
+<para>
 Кроме того, дополнительный параметр <literal>updating</literal>
 разрешает использовать устаревший закэшированный ответ,
 если на данный момент он уже обновляется.
--- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml
+++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_uwsgi_module"
         link="/ru/docs/http/ngx_http_uwsgi_module.html"
         lang="ru"
-        rev="21">
+        rev="22">
 
 <section id="summary">
 
@@ -488,6 +488,12 @@ server {
 </para>
 
 <para>
+Параметр <literal>error</literal> также позволяет использовать
+устаревший закэшированный ответ при невозможности выбора
+uwsgi-сервера для обработки запроса.
+</para>
+
+<para>
 Кроме того, дополнительный параметр <literal>updating</literal>
 разрешает использовать устаревший закэшированный ответ,
 если на данный момент он уже обновляется.