comparison xml/en/docs/http/ngx_http_scgi_module.xml @ 3092:ca4c8ac67c0e

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="Module ngx_http_scgi_module" 10 <module name="Module ngx_http_scgi_module"
11 link="/en/docs/http/ngx_http_scgi_module.html" 11 link="/en/docs/http/ngx_http_scgi_module.html"
12 lang="en" 12 lang="en"
13 rev="42"> 13 rev="43">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_scgi_module</literal> module allows passing 18 The <literal>ngx_http_scgi_module</literal> module allows passing
638 If the header includes the <header>Vary</header> field 638 If the header includes the <header>Vary</header> field
639 with another value, such a response will be cached 639 with another value, such a response will be cached
640 taking into account the corresponding request header fields (1.7.7). 640 taking into account the corresponding request header fields (1.7.7).
641 </listitem> 641 </listitem>
642 642
643 <listitem>
644 If the header includes the <header>Age</header> field
645 and caching time is set with the <header>Cache-Control</header> field,
646 caching time is reduced accordingly (1.27.3).
647 </listitem>
648
643 </list> 649 </list>
644 Processing of one or more of these response header fields can be disabled 650 Processing of one or more of these response header fields can be disabled
645 using the <link id="scgi_ignore_headers"/> directive. 651 using the <link id="scgi_ignore_headers"/> directive.
646 </para> 652 </para>
647 653
729 The following fields can be ignored: <header>X-Accel-Redirect</header>, 735 The following fields can be ignored: <header>X-Accel-Redirect</header>,
730 <header>X-Accel-Expires</header>, <header>X-Accel-Limit-Rate</header> (1.1.6), 736 <header>X-Accel-Expires</header>, <header>X-Accel-Limit-Rate</header> (1.1.6),
731 <header>X-Accel-Buffering</header> (1.1.6), 737 <header>X-Accel-Buffering</header> (1.1.6),
732 <header>X-Accel-Charset</header> (1.1.6), <header>Expires</header>, 738 <header>X-Accel-Charset</header> (1.1.6), <header>Expires</header>,
733 <header>Cache-Control</header>, <header>Set-Cookie</header> (0.8.44), 739 <header>Cache-Control</header>, <header>Set-Cookie</header> (0.8.44),
734 and <header>Vary</header> (1.7.7). 740 <header>Vary</header> (1.7.7), and <header>Age</header> (1.27.3).
735 </para> 741 </para>
736 742
737 <para> 743 <para>
738 If not disabled, processing of these header fields has the following 744 If not disabled, processing of these header fields has the following
739 effect: 745 effect:
740 <list type="bullet" compact="no"> 746 <list type="bullet" compact="no">
741 747
742 <listitem> 748 <listitem>
743 <header>X-Accel-Expires</header>, <header>Expires</header>, 749 <header>X-Accel-Expires</header>, <header>Expires</header>,
744 <header>Cache-Control</header>, <header>Set-Cookie</header>, 750 <header>Cache-Control</header>, <header>Set-Cookie</header>,
745 and <header>Vary</header> 751 <header>Vary</header>, and <header>Age</header>
746 set the parameters of response <link id="scgi_cache_valid">caching</link>; 752 set the parameters of response <link id="scgi_cache_valid">caching</link>;
747 </listitem> 753 </listitem>
748 754
749 <listitem> 755 <listitem>
750 <header>X-Accel-Redirect</header> performs an 756 <header>X-Accel-Redirect</header> performs an