Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_headers_module.xml @ 762:3974a50b2142
Documented that "expires" adds or modifies headers only on certain response codes.
author | Sergey Budnevitch <sb@waeme.net> |
---|---|
date | Tue, 13 Nov 2012 08:54:50 +0000 |
parents | f368bff5c70a |
children | a879f261f3db |
comparison
equal
deleted
inserted
replaced
761:84740807c806 | 762:3974a50b2142 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_headers_module" | 10 <module name="Module ngx_http_headers_module" |
11 link="/en/docs/http/ngx_http_headers_module.html" | 11 link="/en/docs/http/ngx_http_headers_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="2"> | 13 rev="3"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_headers_module</literal> module allows to emit | 18 The <literal>ngx_http_headers_module</literal> module allows to emit |
71 <context>location</context> | 71 <context>location</context> |
72 <context>if in location</context> | 72 <context>if in location</context> |
73 | 73 |
74 <para> | 74 <para> |
75 Enables or disables adding or modifying the <header>Expires</header> | 75 Enables or disables adding or modifying the <header>Expires</header> |
76 and <header>Cache-Control</header> response header fields. | 76 and <header>Cache-Control</header> response header fields provided |
77 that the response code equals 200, 204, 206, 301, 302, 303, 304, or 307. | |
77 A parameter can be a positive or negative | 78 A parameter can be a positive or negative |
78 <link doc="../syntax.xml">time</link>. | 79 <link doc="../syntax.xml">time</link>. |
79 </para> | 80 </para> |
80 | 81 |
81 <para> | 82 <para> |