# HG changeset patch # User Ruslan Ermilov # Date 1414690007 -10800 # Node ID 97c8b146cb0eec50759dbaf138a73ef4d84837be # Parent 5e45198fa991b86140ffb167686b19bef5ce27a6 Split the long paragraph about caching parameters into the list. diff --git a/xml/en/docs/http/ngx_http_fastcgi_module.xml b/xml/en/docs/http/ngx_http_fastcgi_module.xml --- a/xml/en/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml @@ -522,16 +522,28 @@ fastcgi_cache_valid any 1m; Parameters of caching can also be set directly in the response header. This has higher priority than setting of caching time using the directive. + + + The
X-Accel-Expires
header field sets caching time of a response in seconds. The zero value disables caching for a response. If the value starts with the @ prefix, it sets an absolute time in seconds since Epoch, up to which the response may be cached. +
+ + If the header does not include the
X-Accel-Expires
field, parameters of caching may be set in the header fields
Expires
or
Cache-Control
. +
+ + If the header includes the
Set-Cookie
field, such a response will not be cached. +
+ +
Processing of one or more of these response header fields can be disabled using the directive. diff --git a/xml/en/docs/http/ngx_http_proxy_module.xml b/xml/en/docs/http/ngx_http_proxy_module.xml --- a/xml/en/docs/http/ngx_http_proxy_module.xml +++ b/xml/en/docs/http/ngx_http_proxy_module.xml @@ -522,16 +522,28 @@ proxy_cache_valid any 1m; Parameters of caching can also be set directly in the response header. This has higher priority than setting of caching time using the directive. + + + The
X-Accel-Expires
header field sets caching time of a response in seconds. The zero value disables caching for a response. If the value starts with the @ prefix, it sets an absolute time in seconds since Epoch, up to which the response may be cached. +
+ + If the header does not include the
X-Accel-Expires
field, parameters of caching may be set in the header fields
Expires
or
Cache-Control
. +
+ + If the header includes the
Set-Cookie
field, such a response will not be cached. +
+ +
Processing of one or more of these response header fields can be disabled using the directive. diff --git a/xml/en/docs/http/ngx_http_scgi_module.xml b/xml/en/docs/http/ngx_http_scgi_module.xml --- a/xml/en/docs/http/ngx_http_scgi_module.xml +++ b/xml/en/docs/http/ngx_http_scgi_module.xml @@ -513,16 +513,28 @@ scgi_cache_valid any 1m; Parameters of caching can also be set directly in the response header. This has higher priority than setting of caching time using the directive. + + + The
X-Accel-Expires
header field sets caching time of a response in seconds. The zero value disables caching for a response. If the value starts with the @ prefix, it sets an absolute time in seconds since Epoch, up to which the response may be cached. +
+ + If the header does not include the
X-Accel-Expires
field, parameters of caching may be set in the header fields
Expires
or
Cache-Control
. +
+ + If the header includes the
Set-Cookie
field, such a response will not be cached. +
+ +
Processing of one or more of these response header fields can be disabled using the directive. diff --git a/xml/en/docs/http/ngx_http_uwsgi_module.xml b/xml/en/docs/http/ngx_http_uwsgi_module.xml --- a/xml/en/docs/http/ngx_http_uwsgi_module.xml +++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml @@ -513,16 +513,28 @@ uwsgi_cache_valid any 1m; Parameters of caching can also be set directly in the response header. This has higher priority than setting of caching time using the directive. + + + The
X-Accel-Expires
header field sets caching time of a response in seconds. The zero value disables caching for a response. If the value starts with the @ prefix, it sets an absolute time in seconds since Epoch, up to which the response may be cached. +
+ + If the header does not include the
X-Accel-Expires
field, parameters of caching may be set in the header fields
Expires
or
Cache-Control
. +
+ + If the header includes the
Set-Cookie
field, such a response will not be cached. +
+ +
Processing of one or more of these response header fields can be disabled using the directive. diff --git a/xml/ru/docs/http/ngx_http_fastcgi_module.xml b/xml/ru/docs/http/ngx_http_fastcgi_module.xml --- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml @@ -521,16 +521,28 @@ fastcgi_cache_valid any 1m; Параметры кэширования могут также быть заданы непосредственно в заголовке ответа. Такой способ приоритетнее, чем задание времени кэширования с помощью директивы. + + + Поле заголовка
X-Accel-Expires
задаёт время кэширования ответа в секундах. Значение 0 запрещает кэшировать ответ. Если значение начинается с префикса @, оно задаёт абсолютное время в секундах с начала эпохи, до которого ответ может быть закэширован. +
+ + Если в заголовке нет поля
X-Accel-Expires
, параметры кэширования определяются по полям заголовка
Expires
или
Cache-Control
. +
+ + Ответ, в заголовке которого есть поле
Set-Cookie
, не будет кэшироваться. +
+ +
Обработка одного или более из этих полей заголовка может быть отключена при помощи директивы . diff --git a/xml/ru/docs/http/ngx_http_proxy_module.xml b/xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml @@ -522,16 +522,28 @@ proxy_cache_valid any 1m; Параметры кэширования могут также быть заданы непосредственно в заголовке ответа. Такой способ приоритетнее, чем задание времени кэширования с помощью директивы. + + + Поле заголовка
X-Accel-Expires
задаёт время кэширования ответа в секундах. Значение 0 запрещает кэшировать ответ. Если значение начинается с префикса @, оно задаёт абсолютное время в секундах с начала эпохи, до которого ответ может быть закэширован. +
+ + Если в заголовке нет поля
X-Accel-Expires
, параметры кэширования определяются по полям заголовка
Expires
или
Cache-Control
. +
+ + Ответ, в заголовке которого есть поле
Set-Cookie
, не будет кэшироваться. +
+ +
Обработка одного или более из этих полей заголовка может быть отключена при помощи директивы . diff --git a/xml/ru/docs/http/ngx_http_scgi_module.xml b/xml/ru/docs/http/ngx_http_scgi_module.xml --- a/xml/ru/docs/http/ngx_http_scgi_module.xml +++ b/xml/ru/docs/http/ngx_http_scgi_module.xml @@ -512,16 +512,28 @@ scgi_cache_valid any 1m; Параметры кэширования могут также быть заданы непосредственно в заголовке ответа. Такой способ приоритетнее, чем задание времени кэширования с помощью директивы. + + + Поле заголовка
X-Accel-Expires
задаёт время кэширования ответа в секундах. Значение 0 запрещает кэшировать ответ. Если значение начинается с префикса @, оно задаёт абсолютное время в секундах с начала эпохи, до которого ответ может быть закэширован. +
+ + Если в заголовке нет поля
X-Accel-Expires
, параметры кэширования определяются по полям заголовка
Expires
или
Cache-Control
. +
+ + Ответ, в заголовке которого есть поле
Set-Cookie
, не будет кэшироваться. +
+ +
Обработка одного или более из этих полей заголовка может быть отключена при помощи директивы . diff --git a/xml/ru/docs/http/ngx_http_uwsgi_module.xml b/xml/ru/docs/http/ngx_http_uwsgi_module.xml --- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml +++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml @@ -512,16 +512,28 @@ uwsgi_cache_valid any 1m; Параметры кэширования могут также быть заданы непосредственно в заголовке ответа. Такой способ приоритетнее, чем задание времени кэширования с помощью директивы. + + + Поле заголовка
X-Accel-Expires
задаёт время кэширования ответа в секундах. Значение 0 запрещает кэшировать ответ. Если значение начинается с префикса @, оно задаёт абсолютное время в секундах с начала эпохи, до которого ответ может быть закэширован. +
+ + Если в заголовке нет поля
X-Accel-Expires
, параметры кэширования определяются по полям заголовка
Expires
или
Cache-Control
. +
+ + Ответ, в заголовке которого есть поле
Set-Cookie
, не будет кэшироваться. +
+ +
Обработка одного или более из этих полей заголовка может быть отключена при помощи директивы .