Mercurial > hg > nginx-site
diff 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 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_headers_module.xml Mon Nov 12 07:50:47 2012 +0000 +++ b/xml/en/docs/http/ngx_http_headers_module.xml Tue Nov 13 08:54:50 2012 +0000 @@ -10,7 +10,7 @@ <module name="Module ngx_http_headers_module" link="/en/docs/http/ngx_http_headers_module.html" lang="en" - rev="2"> + rev="3"> <section id="summary"> @@ -73,7 +73,8 @@ <para> Enables or disables adding or modifying the <header>Expires</header> -and <header>Cache-Control</header> response header fields. +and <header>Cache-Control</header> response header fields provided +that the response code equals 200, 204, 206, 301, 302, 303, 304, or 307. A parameter can be a positive or negative <link doc="../syntax.xml">time</link>. </para>