# HG changeset patch # User Maxim Dounin # Date 1722439991 -10800 # Node ID ca4c8ac67c0ebb9d3c09f295b667d452ac709ede # Parent 6cab598f14a1f4bbf2e8e4f374f6d15c18c54659 Documented Age header handling. diff -r 6cab598f14a1 -r ca4c8ac67c0e xml/en/docs/http/ngx_http_fastcgi_module.xml --- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Tue Jul 09 17:51:47 2024 +0300 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Wed Jul 31 18:33:11 2024 +0300 @@ -10,7 +10,7 @@ + rev="55">
@@ -649,6 +649,12 @@ taking into account the corresponding request header fields (1.7.7). + +If the header includes the
Age
field +and caching time is set with the
Cache-Control
field, +caching time is reduced accordingly (1.27.3). +
+ Processing of one or more of these response header fields can be disabled using the directive. @@ -766,7 +772,7 @@
X-Accel-Buffering
(1.1.6),
X-Accel-Charset
(1.1.6),
Expires
,
Cache-Control
,
Set-Cookie
(0.8.44), -and
Vary
(1.7.7). +
Vary
(1.7.7), and
Age
(1.27.3). @@ -777,7 +783,7 @@
X-Accel-Expires
,
Expires
,
Cache-Control
,
Set-Cookie
, -and
Vary
+
Vary
, and
Age
set the parameters of response caching;
diff -r 6cab598f14a1 -r ca4c8ac67c0e xml/en/docs/http/ngx_http_proxy_module.xml --- a/xml/en/docs/http/ngx_http_proxy_module.xml Tue Jul 09 17:51:47 2024 +0300 +++ b/xml/en/docs/http/ngx_http_proxy_module.xml Wed Jul 31 18:33:11 2024 +0300 @@ -10,7 +10,7 @@ + rev="78">
@@ -667,6 +667,12 @@ taking into account the corresponding request header fields (1.7.7). + +If the header includes the
Age
field +and caching time is set with the
Cache-Control
field, +caching time is reduced accordingly (1.27.3). +
+ Processing of one or more of these response header fields can be disabled using the directive. @@ -1011,7 +1017,7 @@
X-Accel-Buffering
(1.1.6),
X-Accel-Charset
(1.1.6),
Expires
,
Cache-Control
,
Set-Cookie
(0.8.44), -and
Vary
(1.7.7). +
Vary
(1.7.7), and
Age
(1.27.3). @@ -1022,7 +1028,7 @@
X-Accel-Expires
,
Expires
,
Cache-Control
,
Set-Cookie
, -and
Vary
+
Vary
, and
Age
set the parameters of response caching;
diff -r 6cab598f14a1 -r ca4c8ac67c0e xml/en/docs/http/ngx_http_scgi_module.xml --- a/xml/en/docs/http/ngx_http_scgi_module.xml Tue Jul 09 17:51:47 2024 +0300 +++ b/xml/en/docs/http/ngx_http_scgi_module.xml Wed Jul 31 18:33:11 2024 +0300 @@ -10,7 +10,7 @@ + rev="43">
@@ -640,6 +640,12 @@ taking into account the corresponding request header fields (1.7.7). + +If the header includes the
Age
field +and caching time is set with the
Cache-Control
field, +caching time is reduced accordingly (1.27.3). +
+ Processing of one or more of these response header fields can be disabled using the directive. @@ -731,7 +737,7 @@
X-Accel-Buffering
(1.1.6),
X-Accel-Charset
(1.1.6),
Expires
,
Cache-Control
,
Set-Cookie
(0.8.44), -and
Vary
(1.7.7). +
Vary
(1.7.7), and
Age
(1.27.3). @@ -742,7 +748,7 @@
X-Accel-Expires
,
Expires
,
Cache-Control
,
Set-Cookie
, -and
Vary
+
Vary
, and
Age
set the parameters of response caching;
diff -r 6cab598f14a1 -r ca4c8ac67c0e xml/en/docs/http/ngx_http_upstream_module.xml --- a/xml/en/docs/http/ngx_http_upstream_module.xml Tue Jul 09 17:51:47 2024 +0300 +++ b/xml/en/docs/http/ngx_http_upstream_module.xml Wed Jul 31 18:33:11 2024 +0300 @@ -10,7 +10,7 @@ + rev="91">
@@ -574,6 +574,12 @@ $upstream_addr variable. +$upstream_cache_age + + +age of the cache item (1.27.3). + + $upstream_cache_key diff -r 6cab598f14a1 -r ca4c8ac67c0e xml/en/docs/http/ngx_http_uwsgi_module.xml --- a/xml/en/docs/http/ngx_http_uwsgi_module.xml Tue Jul 09 17:51:47 2024 +0300 +++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml Wed Jul 31 18:33:11 2024 +0300 @@ -10,7 +10,7 @@ + rev="52">
@@ -640,6 +640,12 @@ taking into account the corresponding request header fields (1.7.7). + +If the header includes the
Age
field +and caching time is set with the
Cache-Control
field, +caching time is reduced accordingly (1.27.3). +
+ Processing of one or more of these response header fields can be disabled using the directive. @@ -731,7 +737,7 @@
X-Accel-Buffering
(1.1.6),
X-Accel-Charset
(1.1.6),
Expires
,
Cache-Control
,
Set-Cookie
(0.8.44), -and
Vary
(1.7.7). +
Vary
(1.7.7), and
Age
(1.27.3). @@ -742,7 +748,7 @@
X-Accel-Expires
,
Expires
,
Cache-Control
,
Set-Cookie
, -and
Vary
+
Vary
, and
Age
set the parameters of response caching;
diff -r 6cab598f14a1 -r ca4c8ac67c0e xml/ru/docs/http/ngx_http_fastcgi_module.xml --- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml Tue Jul 09 17:51:47 2024 +0300 +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml Wed Jul 31 18:33:11 2024 +0300 @@ -10,7 +10,7 @@ + rev="55">
@@ -649,6 +649,12 @@ с учётом соответствующих полей заголовка запроса (1.7.7). + +Если в заголовке ответа есть поле
Age
+и время кэширования определяется по полю
Cache-Control
, +время кэширования будет соответственно уменьшено (1.27.3). +
+ Обработка одного или более из этих полей заголовка может быть отключена при помощи директивы . @@ -764,8 +770,8 @@
X-Accel-Expires
,
X-Accel-Limit-Rate
(1.1.6),
X-Accel-Buffering
(1.1.6),
X-Accel-Charset
(1.1.6),
Expires
, -
Cache-Control
,
Set-Cookie
(0.8.44) -и
Vary
(1.7.7). +
Cache-Control
,
Set-Cookie
(0.8.44), +
Vary
(1.7.7) и
Age
(1.27.3). @@ -774,8 +780,8 @@
X-Accel-Expires
,
Expires
, -
Cache-Control
,
Set-Cookie
Vary
+
Cache-Control
,
Set-Cookie
, +
Vary
и
Age
задают параметры кэширования ответа;
diff -r 6cab598f14a1 -r ca4c8ac67c0e xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml Tue Jul 09 17:51:47 2024 +0300 +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml Wed Jul 31 18:33:11 2024 +0300 @@ -10,7 +10,7 @@ + rev="78">
@@ -669,6 +669,12 @@ с учётом соответствующих полей заголовка запроса (1.7.7). + +Если в заголовке ответа есть поле
Age
+и время кэширования определяется по полю
Cache-Control
, +время кэширования будет соответственно уменьшено (1.27.3). +
+ Обработка одного или более из этих полей заголовка может быть отключена при помощи директивы . @@ -1010,8 +1016,8 @@
X-Accel-Expires
,
X-Accel-Limit-Rate
(1.1.6),
X-Accel-Buffering
(1.1.6),
X-Accel-Charset
(1.1.6),
Expires
, -
Cache-Control
,
Set-Cookie
(0.8.44) -и
Vary
(1.7.7). +
Cache-Control
,
Set-Cookie
(0.8.44), +
Vary
(1.7.7) и
Age
(1.27.3). @@ -1020,8 +1026,8 @@
X-Accel-Expires
,
Expires
, -
Cache-Control
,
Set-Cookie
Vary
+
Cache-Control
,
Set-Cookie
, +
Vary
и
Age
задают параметры кэширования ответа;
diff -r 6cab598f14a1 -r ca4c8ac67c0e xml/ru/docs/http/ngx_http_scgi_module.xml --- a/xml/ru/docs/http/ngx_http_scgi_module.xml Tue Jul 09 17:51:47 2024 +0300 +++ b/xml/ru/docs/http/ngx_http_scgi_module.xml Wed Jul 31 18:33:11 2024 +0300 @@ -10,7 +10,7 @@ + rev="43">
@@ -640,6 +640,12 @@ с учётом соответствующих полей заголовка запроса (1.7.7). + +Если в заголовке ответа есть поле
Age
+и время кэширования определяется по полю
Cache-Control
, +время кэширования будет соответственно уменьшено (1.27.3). +
+ Обработка одного или более из этих полей заголовка может быть отключена при помощи директивы . @@ -729,8 +735,8 @@
X-Accel-Expires
,
X-Accel-Limit-Rate
(1.1.6),
X-Accel-Buffering
(1.1.6),
X-Accel-Charset
(1.1.6),
Expires
, -
Cache-Control
,
Set-Cookie
(0.8.44) -и
Vary
(1.7.7). +
Cache-Control
,
Set-Cookie
(0.8.44), +
Vary
(1.7.7) и
Age
(1.27.3). @@ -739,8 +745,8 @@
X-Accel-Expires
,
Expires
, -
Cache-Control
,
Set-Cookie
Vary
+
Cache-Control
,
Set-Cookie
, +
Vary
и
Age
задают параметры кэширования ответа;
diff -r 6cab598f14a1 -r ca4c8ac67c0e xml/ru/docs/http/ngx_http_upstream_module.xml --- a/xml/ru/docs/http/ngx_http_upstream_module.xml Tue Jul 09 17:51:47 2024 +0300 +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml Wed Jul 31 18:33:11 2024 +0300 @@ -10,7 +10,7 @@ + rev="91">
@@ -581,6 +581,12 @@ $upstream_addr. +$upstream_cache_age + + +возраст элемента кэша (1.27.3). + + $upstream_cache_key diff -r 6cab598f14a1 -r ca4c8ac67c0e xml/ru/docs/http/ngx_http_uwsgi_module.xml --- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml Tue Jul 09 17:51:47 2024 +0300 +++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml Wed Jul 31 18:33:11 2024 +0300 @@ -10,7 +10,7 @@ + rev="52">
@@ -639,6 +639,12 @@ с учётом соответствующих полей заголовка запроса (1.7.7). + +Если в заголовке ответа есть поле
Age
+и время кэширования определяется по полю
Cache-Control
, +время кэширования будет соответственно уменьшено (1.27.3). +
+ Обработка одного или более из этих полей заголовка может быть отключена при помощи директивы . @@ -728,8 +734,8 @@
X-Accel-Expires
,
X-Accel-Limit-Rate
(1.1.6),
X-Accel-Buffering
(1.1.6),
X-Accel-Charset
(1.1.6),
Expires
, -
Cache-Control
,
Set-Cookie
(0.8.44) -и
Vary
(1.7.7). +
Cache-Control
,
Set-Cookie
(0.8.44), +
Vary
(1.7.7) и
Age
(1.27.3). @@ -738,8 +744,8 @@
X-Accel-Expires
,
Expires
, -
Cache-Control
,
Set-Cookie
Vary
+
Cache-Control
,
Set-Cookie
, +
Vary
и
Age
задают параметры кэширования ответа;