comparison xml/en/docs/http/ngx_http_uwsgi_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
511 511
512 <para> 512 <para>
513 Parameters of caching can also be set directly 513 Parameters of caching can also be set directly
514 in the response header. 514 in the response header.
515 This has higher priority than setting of caching time using the directive. 515 This has higher priority than setting of caching time using the directive.
516 <list type="bullet" compact="no">
517
518 <listitem>
516 The <header>X-Accel-Expires</header> header field sets caching time of a 519 The <header>X-Accel-Expires</header> header field sets caching time of a
517 response in seconds. 520 response in seconds.
518 The zero value disables caching for a response. 521 The zero value disables caching for a response.
519 If the value starts with the <literal>@</literal> prefix, it sets an absolute 522 If the value starts with the <literal>@</literal> prefix, it sets an absolute
520 time in seconds since Epoch, up to which the response may be cached. 523 time in seconds since Epoch, up to which the response may be cached.
524 </listitem>
525
526 <listitem>
521 If the header does not include the <header>X-Accel-Expires</header> field, 527 If the header does not include the <header>X-Accel-Expires</header> field,
522 parameters of caching may be set in the header fields 528 parameters of caching may be set in the header fields
523 <header>Expires</header> or <header>Cache-Control</header>. 529 <header>Expires</header> or <header>Cache-Control</header>.
530 </listitem>
531
532 <listitem>
524 If the header includes the <header>Set-Cookie</header> field, such a 533 If the header includes the <header>Set-Cookie</header> field, such a
525 response will not be cached. 534 response will not be cached.
535 </listitem>
536
537 </list>
526 Processing of one or more of these response header fields can be disabled 538 Processing of one or more of these response header fields can be disabled
527 using the <link id="uwsgi_ignore_headers"/> directive. 539 using the <link id="uwsgi_ignore_headers"/> directive.
528 </para> 540 </para>
529 541
530 </directive> 542 </directive>