comparison xml/en/docs/http/ngx_http_proxy_module.xml @ 1353:25db29c8875e

Documented how the "Vary" response header field affects caching.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 14 Nov 2014 10:40:00 +0300
parents dbb618f60a54
children e0e1e5db06bb
comparison
equal deleted inserted replaced
1352:dbb618f60a54 1353:25db29c8875e
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_proxy_module" 10 <module name="Module ngx_http_proxy_module"
11 link="/en/docs/http/ngx_http_proxy_module.html" 11 link="/en/docs/http/ngx_http_proxy_module.html"
12 lang="en" 12 lang="en"
13 rev="30"> 13 rev="31">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_proxy_module</literal> module allows passing 18 The <literal>ngx_http_proxy_module</literal> module allows passing
541 <listitem> 541 <listitem>
542 If the header includes the <header>Set-Cookie</header> field, such a 542 If the header includes the <header>Set-Cookie</header> field, such a
543 response will not be cached. 543 response will not be cached.
544 </listitem> 544 </listitem>
545 545
546 <listitem>
547 If the header includes the <header>Vary</header> field
548 with the special value “<literal>*</literal>”, such a
549 response will not be cached (1.7.7).
550 If the header includes the <header>Vary</header> field
551 with another value, such a response will be cached
552 taking into account the corresponding request header fields (1.7.7).
553 </listitem>
554
546 </list> 555 </list>
547 Processing of one or more of these response header fields can be disabled 556 Processing of one or more of these response header fields can be disabled
548 using the <link id="proxy_ignore_headers"/> directive. 557 using the <link id="proxy_ignore_headers"/> directive.
549 </para> 558 </para>
550 559