Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_fastcgi_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 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Wed Oct 22 14:04:16 2014 -0700 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Thu Oct 30 20:26:47 2014 +0300 @@ -522,16 +522,28 @@ Parameters of caching can also be set directly in the response header. This has higher priority than setting of caching time using the directive. +<list type="bullet" compact="no"> + +<listitem> The <header>X-Accel-Expires</header> header field sets caching time of a response in seconds. The zero value disables caching for a response. If the value starts with the <literal>@</literal> prefix, it sets an absolute time in seconds since Epoch, up to which the response may be cached. +</listitem> + +<listitem> If the header does not include the <header>X-Accel-Expires</header> field, parameters of caching may be set in the header fields <header>Expires</header> or <header>Cache-Control</header>. +</listitem> + +<listitem> If the header includes the <header>Set-Cookie</header> field, such a response will not be cached. +</listitem> + +</list> Processing of one or more of these response header fields can be disabled using the <link id="fastcgi_ignore_headers"/> directive. </para>