Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_headers_module.xml @ 1808:4b6d7686e00f
Corrected articles in the "expires" directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Sat, 27 Sep 2014 20:00:31 +0400 |
parents | ab0ebdd7ddac |
children | 2a3c58dcb3e8 |
comparison
equal
deleted
inserted
replaced
1807:dc1e51247404 | 1808:4b6d7686e00f |
---|---|
89 | 89 |
90 <para> | 90 <para> |
91 Enables or disables adding or modifying the <header>Expires</header> | 91 Enables or disables adding or modifying the <header>Expires</header> |
92 and <header>Cache-Control</header> response header fields provided that | 92 and <header>Cache-Control</header> response header fields provided that |
93 the response code equals 200, 201, 204, 206, 301, 302, 303, 304, or 307. | 93 the response code equals 200, 201, 204, 206, 301, 302, 303, 304, or 307. |
94 A parameter can be a positive or negative | 94 The parameter can be a positive or negative |
95 <link doc="../syntax.xml">time</link>. | 95 <link doc="../syntax.xml">time</link>. |
96 </para> | 96 </para> |
97 | 97 |
98 <para> | 98 <para> |
99 A time in the <header>Expires</header> field is computed as a sum of the | 99 The time in the <header>Expires</header> field is computed as a sum of the |
100 current time and <value>time</value> specified in the directive. | 100 current time and <value>time</value> specified in the directive. |
101 If the <literal>modified</literal> parameter is used (0.7.0, 0.6.32) | 101 If the <literal>modified</literal> parameter is used (0.7.0, 0.6.32) |
102 then time is computed as a sum of the file’s modification time and | 102 then the time is computed as a sum of the file’s modification time and |
103 <value>time</value> specified in the directive. | 103 the <value>time</value> specified in the directive. |
104 </para> | 104 </para> |
105 | 105 |
106 <para> | 106 <para> |
107 In addition, it is possible to specify a time of the day using | 107 In addition, it is possible to specify a time of day using |
108 the “<literal>@</literal>” prefix (0.7.9, 0.6.34): | 108 the “<literal>@</literal>” prefix (0.7.9, 0.6.34): |
109 <example> | 109 <example> |
110 expires @15h30m; | 110 expires @15h30m; |
111 </example> | 111 </example> |
112 </para> | 112 </para> |