comparison xml/en/docs/http/ngx_http_proxy_module.xml @ 1349:97c8b146cb0e

Split the long paragraph about caching parameters into the list.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 30 Oct 2014 20:26:47 +0300
parents da296387cdac
children dbb618f60a54
comparison
equal deleted inserted replaced
1348:5e45198fa991 1349:97c8b146cb0e
520 520
521 <para> 521 <para>
522 Parameters of caching can also be set directly 522 Parameters of caching can also be set directly
523 in the response header. 523 in the response header.
524 This has higher priority than setting of caching time using the directive. 524 This has higher priority than setting of caching time using the directive.
525 <list type="bullet" compact="no">
526
527 <listitem>
525 The <header>X-Accel-Expires</header> header field sets caching time of a 528 The <header>X-Accel-Expires</header> header field sets caching time of a
526 response in seconds. 529 response in seconds.
527 The zero value disables caching for a response. 530 The zero value disables caching for a response.
528 If the value starts with the <literal>@</literal> prefix, it sets an absolute 531 If the value starts with the <literal>@</literal> prefix, it sets an absolute
529 time in seconds since Epoch, up to which the response may be cached. 532 time in seconds since Epoch, up to which the response may be cached.
533 </listitem>
534
535 <listitem>
530 If the header does not include the <header>X-Accel-Expires</header> field, 536 If the header does not include the <header>X-Accel-Expires</header> field,
531 parameters of caching may be set in the header fields 537 parameters of caching may be set in the header fields
532 <header>Expires</header> or <header>Cache-Control</header>. 538 <header>Expires</header> or <header>Cache-Control</header>.
539 </listitem>
540
541 <listitem>
533 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
534 response will not be cached. 543 response will not be cached.
544 </listitem>
545
546 </list>
535 Processing of one or more of these response header fields can be disabled 547 Processing of one or more of these response header fields can be disabled
536 using the <link id="proxy_ignore_headers"/> directive. 548 using the <link id="proxy_ignore_headers"/> directive.
537 </para> 549 </para>
538 550
539 </directive> 551 </directive>