Mercurial > hg > nginx-site
changeset 576:cac22cc79afd
Documented the "etag" directive.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 10 Jul 2012 11:44:07 +0000 |
parents | ebcb351d9eb3 |
children | 22c22895a614 |
files | xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml |
diffstat | 2 files changed, 32 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml Mon Jul 09 07:40:53 2012 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Tue Jul 10 11:44:07 2012 +0000 @@ -618,6 +618,22 @@ </directive> +<directive name="etag"> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>on</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.3.3</appeared-in> + +<para> +Enables or disables automatic generation of the <header>ETag</header> +response header field for static resources. +</para> + +</directive> + + <directive name="if_modified_since"> <syntax> <literal>off</literal> |
--- a/xml/ru/docs/http/ngx_http_core_module.xml Mon Jul 09 07:40:53 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_core_module.xml Tue Jul 10 11:44:07 2012 +0000 @@ -606,6 +606,22 @@ </directive> +<directive name="etag"> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>on</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.3.3</appeared-in> + +<para> +Разрешает или запрещает автоматическую генерацию поля <header>ETag</header> +заголовка ответа для статических ресурсов. +</para> + +</directive> + + <directive name="if_modified_since"> <syntax> <literal>off</literal> |