Mercurial > hg > nginx-site
changeset 1808:4b6d7686e00f
Corrected articles in the "expires" directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Sat, 27 Sep 2014 20:00:31 +0400 |
parents | dc1e51247404 |
children | 2245f2827e2f |
files | xml/en/docs/http/ngx_http_headers_module.xml |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_headers_module.xml Tue Oct 04 21:09:16 2016 +0300 +++ b/xml/en/docs/http/ngx_http_headers_module.xml Sat Sep 27 20:00:31 2014 +0400 @@ -91,20 +91,20 @@ Enables or disables adding or modifying the <header>Expires</header> and <header>Cache-Control</header> response header fields provided that the response code equals 200, 201, 204, 206, 301, 302, 303, 304, or 307. -A parameter can be a positive or negative +The parameter can be a positive or negative <link doc="../syntax.xml">time</link>. </para> <para> -A time in the <header>Expires</header> field is computed as a sum of the +The time in the <header>Expires</header> field is computed as a sum of the current time and <value>time</value> specified in the directive. If the <literal>modified</literal> parameter is used (0.7.0, 0.6.32) -then time is computed as a sum of the file’s modification time and -<value>time</value> specified in the directive. +then the time is computed as a sum of the file’s modification time and +the <value>time</value> specified in the directive. </para> <para> -In addition, it is possible to specify a time of the day using +In addition, it is possible to specify a time of day using the “<literal>@</literal>” prefix (0.7.9, 0.6.34): <example> expires @15h30m;