Mercurial > hg > nginx-site
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 Mon Nov 11 11:56:10 2013 +0400 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Tue Nov 19 17:08:49 2013 +0400 @@ -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 @@ </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 Mon Nov 11 11:56:10 2013 +0400 +++ b/xml/en/docs/http/ngx_http_proxy_module.xml Tue Nov 19 17:08:49 2013 +0400 @@ -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 @@ </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 Mon Nov 11 11:56:10 2013 +0400 +++ b/xml/en/docs/http/ngx_http_upstream_module.xml Tue Nov 19 17:08:49 2013 +0400 @@ -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 @@ 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>