Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_uwsgi_module.xml @ 1910:41cf2c2d8c5c
Cache: support for stale-while-revalidate and stale-if-error.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 15 Feb 2017 23:17:00 +0300 |
parents | 399d0e188195 |
children | ec4af97e4403 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_uwsgi_module.xml +++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_uwsgi_module" link="/en/docs/http/ngx_http_uwsgi_module.html" lang="en" - rev="33"> + rev="34"> <section id="summary"> @@ -622,6 +622,11 @@ The directive’s parameters match the parameters of the The <literal>error</literal> parameter also permits using a stale cached response if a uwsgi server to process a request cannot be selected. +The same behavior can be enabled with the +“<link url="https://tools.ietf.org/html/rfc5861#section-4">stale-if-error</link>” +extension of the <header>Cache-Control</header> response header field (1.11.10) +for a specified number of seconds after the response became stale, +however, this has lower priority than using the directive parameter. </para> <para id="uwsgi_cache_use_stale_updating"> @@ -629,6 +634,11 @@ Additionally, the <literal>updating</lit using a stale cached response if it is currently being updated. This allows minimizing the number of accesses to uwsgi servers when updating cached data. +The same behavior can be enabled with the +“<link url="https://tools.ietf.org/html/rfc5861#section-3">stale-while-revalidate</link>” +extension of the <header>Cache-Control</header> response header field (1.11.10) +for a specified number of seconds after the response became stale, +however, this has lower priority than using the directive parameter. </para> <para>