Mercurial > hg > nginx-site
changeset 1016:2d8269d8fea8
Translated documentation on cache revalidation into russian.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 19 Nov 2013 18:45:28 +0400 |
parents | af77dd40abeb |
children | 9f9a427a73eb |
files | xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_upstream_module.xml |
diffstat | 3 files changed, 37 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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="11"> + rev="12"> <section id="summary"> @@ -365,6 +365,22 @@ fastcgi_cache_path /data/nginx/cache lev </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> +<appeared-in>1.5.7</appeared-in> + +<para> +Разрешает ревалидацию просроченных элементов кэша при помощи +условных запросов с полем заголовка <header>If-Modified-Since</header>. +</para> + +</directive> + + <directive name="fastcgi_cache_use_stale"> <syntax> <literal>error</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="15"> + rev="16"> <section id="summary"> @@ -363,6 +363,22 @@ proxy_cache_path /data/nginx/cache level </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> +<appeared-in>1.5.7</appeared-in> + +<para> +Разрешает ревалидацию просроченных элементов кэша при помощи +условных запросов с полем заголовка <header>If-Modified-Since</header>. +</para> + +</directive> + + <directive name="proxy_cache_use_stale"> <syntax> <literal>error</literal> |
--- a/xml/ru/docs/http/ngx_http_upstream_module.xml +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_upstream_module" link="/ru/docs/http/ngx_http_upstream_module.html" lang="ru" - rev="4"> + rev="5"> <section id="summary"> @@ -396,8 +396,8 @@ server { хранит статус доступа к кэшу ответов (0.8.3). Статус может быть одним из “<literal>MISS</literal>”, “<literal>BYPASS</literal>”, “<literal>EXPIRED</literal>”, -“<literal>STALE</literal>”, “<literal>UPDATING</literal>” или -“<literal>HIT</literal>”. +“<literal>STALE</literal>”, “<literal>UPDATING</literal>”, +“<literal>REVALIDATED</literal>” или “<literal>HIT</literal>”. </tag-desc> <tag-name><var>$upstream_response_length</var></tag-name>