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
+++ b/xml/en/docs/http/ngx_http_core_module.xml
@@ -618,6 +618,22 @@ location @fallback {
 </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
+++ b/xml/ru/docs/http/ngx_http_core_module.xml
@@ -606,6 +606,22 @@ location @fallback {
 </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> |