diff xml/en/docs/http/ngx_http_headers_module.xml @ 2311:6ca49554d5fe

Documented how "expires epoch" affects Cache-Control.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 25 Dec 2018 13:27:16 +0300
parents d2969b2f69ae
children 375a3dfde23b
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_headers_module.xml	Thu Dec 20 19:33:30 2018 +0300
+++ b/xml/en/docs/http/ngx_http_headers_module.xml	Tue Dec 25 13:27:16 2018 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_headers_module"
         link="/en/docs/http/ngx_http_headers_module.html"
         lang="en"
-        rev="10">
+        rev="11">
 
 <section id="summary">
 
@@ -147,8 +147,6 @@
 </para>
 
 <para>
-The <literal>epoch</literal> parameter corresponds to the absolute time
-“<literal>Thu, 01 Jan 1970 00:00:01 GMT</literal>”.
 The contents of the <header>Cache-Control</header> field depends
 on the sign of the specified time:
 <list type="bullet">
@@ -167,6 +165,12 @@
 </para>
 
 <para>
+The <literal>epoch</literal> parameter sets <header>Expires</header>
+to the value “<literal>Thu, 01 Jan 1970 00:00:01 GMT</literal>”,
+and <header>Cache-Control</header> to “<literal>no-cache</literal>”.
+</para>
+
+<para>
 The <literal>max</literal> parameter sets <header>Expires</header>
 to the value “<literal>Thu, 31 Dec 2037 23:55:55 GMT</literal>”,
 and <header>Cache-Control</header> to 10 years.