Mercurial > hg > nginx-site
changeset 770:a879f261f3db
Reduced unnecessary diffs between "add_header" and "expires" texts.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 20 Nov 2012 06:52:11 +0000 |
parents | d71e56d56ada |
children | 47ad88faaa3f |
files | xml/en/docs/http/ngx_http_headers_module.xml xml/ru/docs/http/ngx_http_headers_module.xml |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_headers_module.xml +++ b/xml/en/docs/http/ngx_http_headers_module.xml @@ -73,8 +73,8 @@ A value can contain variables. <para> 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, 204, 206, 301, 302, 303, 304, or 307. +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>
--- a/xml/ru/docs/http/ngx_http_headers_module.xml +++ b/xml/ru/docs/http/ngx_http_headers_module.xml @@ -73,8 +73,8 @@ add_header Cache-Control private; <para> Разрешает или запрещает добавлять или менять поля <header>Expires</header> -и <header>Cache-Control</header> в заголовке ответа, при условии, что -код ответа равен 200, 204, 206, 301, 302, 303, 304 или 307. +и <header>Cache-Control</header> в заголовке ответа при условии, что код ответа +равен 200, 204, 206, 301, 302, 303, 304 или 307. В качестве параметра можно задать положительное или отрицательное <link doc="../syntax.xml">время</link>. </para>