changeset 1011:2ad2f30efdf2

Documented the "fastcgi_" and "proxy_cache_revalidate" directives.
author Vladimir Homutov <vl@nginx.com>
date Tue, 19 Nov 2013 17:08:49 +0400
parents 649420cb8021
children f7fe7da742c6
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_upstream_module.xml
diffstat 3 files changed, 35 insertions(+), 5 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="11">
+        rev="12">
 
 <section id="summary">
 
@@ -368,6 +368,21 @@ parameter (by default, 50 milliseconds) 
 </directive>
 
 
+<directive name="fastcgi_cache_revalidate">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+
+<para>
+Enables revalidation of expired cache items using conditional requests with
+the <header>If-Modified-Since</header> header field.
+</para>
+
+</directive>
+
+
 <directive name="fastcgi_cache_use_stale">
 <syntax>
     <literal>error</literal> |
--- 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="15">
+        rev="16">
 
 <section id="summary">
 
@@ -366,6 +366,21 @@ parameter (by default, 50 milliseconds) 
 </directive>
 
 
+<directive name="proxy_cache_revalidate">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+
+<para>
+Enables revalidation of expired cache items using conditional requests with
+the <header>If-Modified-Since</header> header field.
+</para>
+
+</directive>
+
+
 <directive name="proxy_cache_use_stale">
 <syntax>
     <literal>error</literal> |
--- a/xml/en/docs/http/ngx_http_upstream_module.xml
+++ b/xml/en/docs/http/ngx_http_upstream_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_upstream_module"
         link="/en/docs/http/ngx_http_upstream_module.html"
         lang="en"
-        rev="10">
+        rev="11">
 
 <section id="summary">
 
@@ -1027,8 +1027,8 @@ then the server addresses from different
 keeps the status of accessing a response cache (0.8.3).
 The status can be either “<literal>MISS</literal>”, 
 “<literal>BYPASS</literal>”, “<literal>EXPIRED</literal>”,
-“<literal>STALE</literal>”, “<literal>UPDATING</literal>” or
-“<literal>HIT</literal>”.
+“<literal>STALE</literal>”, “<literal>UPDATING</literal>”,
+“<literal>REVALIDATED</literal>” or “<literal>HIT</literal>”.
 </tag-desc>
 
 <tag-name><var>$upstream_response_length</var></tag-name>