Mercurial > hg > nginx-site
comparison xml/ru/docs/http/ngx_http_scgi_module.xml @ 3092:ca4c8ac67c0e default tip
Documented Age header handling.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 31 Jul 2024 18:33:11 +0300 |
parents | 9eadb98ec770 |
children |
comparison
equal
deleted
inserted
replaced
3091:6cab598f14a1 | 3092:ca4c8ac67c0e |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Модуль ngx_http_scgi_module" | 10 <module name="Модуль ngx_http_scgi_module" |
11 link="/ru/docs/http/ngx_http_scgi_module.html" | 11 link="/ru/docs/http/ngx_http_scgi_module.html" |
12 lang="ru" | 12 lang="ru" |
13 rev="42"> | 13 rev="43"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 Модуль <literal>ngx_http_scgi_module</literal> позволяет передавать | 18 Модуль <literal>ngx_http_scgi_module</literal> позволяет передавать |
638 Ответ, в заголовке которого есть поле <header>Vary</header> | 638 Ответ, в заголовке которого есть поле <header>Vary</header> |
639 с другим значением, будет закэширован | 639 с другим значением, будет закэширован |
640 с учётом соответствующих полей заголовка запроса (1.7.7). | 640 с учётом соответствующих полей заголовка запроса (1.7.7). |
641 </listitem> | 641 </listitem> |
642 | 642 |
643 <listitem> | |
644 Если в заголовке ответа есть поле <header>Age</header> | |
645 и время кэширования определяется по полю <header>Cache-Control</header>, | |
646 время кэширования будет соответственно уменьшено (1.27.3). | |
647 </listitem> | |
648 | |
643 </list> | 649 </list> |
644 Обработка одного или более из этих полей заголовка может быть отключена | 650 Обработка одного или более из этих полей заголовка может быть отключена |
645 при помощи директивы <link id="scgi_ignore_headers"/>. | 651 при помощи директивы <link id="scgi_ignore_headers"/>. |
646 </para> | 652 </para> |
647 | 653 |
727 Запрещает обработку некоторых полей заголовка из ответа SCGI-сервера. | 733 Запрещает обработку некоторых полей заголовка из ответа SCGI-сервера. |
728 В директиве можно указать поля <header>X-Accel-Redirect</header>, | 734 В директиве можно указать поля <header>X-Accel-Redirect</header>, |
729 <header>X-Accel-Expires</header>, <header>X-Accel-Limit-Rate</header> (1.1.6), | 735 <header>X-Accel-Expires</header>, <header>X-Accel-Limit-Rate</header> (1.1.6), |
730 <header>X-Accel-Buffering</header> (1.1.6), | 736 <header>X-Accel-Buffering</header> (1.1.6), |
731 <header>X-Accel-Charset</header> (1.1.6), <header>Expires</header>, | 737 <header>X-Accel-Charset</header> (1.1.6), <header>Expires</header>, |
732 <header>Cache-Control</header>, <header>Set-Cookie</header> (0.8.44) | 738 <header>Cache-Control</header>, <header>Set-Cookie</header> (0.8.44), |
733 и <header>Vary</header> (1.7.7). | 739 <header>Vary</header> (1.7.7) и <header>Age</header> (1.27.3). |
734 </para> | 740 </para> |
735 | 741 |
736 <para> | 742 <para> |
737 Если не запрещено, обработка этих полей заголовка заключается в следующем: | 743 Если не запрещено, обработка этих полей заголовка заключается в следующем: |
738 <list type="bullet" compact="no"> | 744 <list type="bullet" compact="no"> |
739 | 745 |
740 <listitem> | 746 <listitem> |
741 <header>X-Accel-Expires</header>, <header>Expires</header>, | 747 <header>X-Accel-Expires</header>, <header>Expires</header>, |
742 <header>Cache-Control</header>, <header>Set-Cookie</header> | 748 <header>Cache-Control</header>, <header>Set-Cookie</header>, |
743 и <header>Vary</header> | 749 <header>Vary</header> и <header>Age</header> |
744 задают параметры <link id="scgi_cache_valid">кэширования</link> ответа; | 750 задают параметры <link id="scgi_cache_valid">кэширования</link> ответа; |
745 </listitem> | 751 </listitem> |
746 | 752 |
747 <listitem> | 753 <listitem> |
748 <header>X-Accel-Redirect</header> производит | 754 <header>X-Accel-Redirect</header> производит |