diff xml/en/docs/http/ngx_http_fastcgi_module.xml @ 1910:41cf2c2d8c5c

Cache: support for stale-while-revalidate and stale-if-error.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 15 Feb 2017 23:17:00 +0300
parents 399d0e188195
children ec4af97e4403
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml	Wed Feb 15 23:16:54 2017 +0300
+++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml	Wed Feb 15 23:17:00 2017 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_fastcgi_module"
         link="/en/docs/http/ngx_http_fastcgi_module.html"
         lang="en"
-        rev="41">
+        rev="42">
 
 <section id="summary">
 
@@ -631,6 +631,11 @@
 The <literal>error</literal> parameter also permits
 using a stale cached response if a FastCGI server to process a request
 cannot be selected.
+The same behavior can be enabled with the
+“<link url="https://tools.ietf.org/html/rfc5861#section-4">stale-if-error</link>”
+extension of the <header>Cache-Control</header> response header field (1.11.10)
+for a specified number of seconds after the response became stale,
+however, this has lower priority than using the directive parameter.
 </para>
 
 <para id="fastcgi_cache_use_stale_updating">
@@ -638,6 +643,11 @@
 using a stale cached response if it is currently being updated.
 This allows minimizing the number of accesses to FastCGI servers
 when updating cached data.
+The same behavior can be enabled with the
+“<link url="https://tools.ietf.org/html/rfc5861#section-3">stale-while-revalidate</link>”
+extension of the <header>Cache-Control</header> response header field (1.11.10)
+for a specified number of seconds after the response became stale,
+however, this has lower priority than using the directive parameter.
 </para>
 
 <para>