diff options
author | Roman Arutyunyan <arut@nginx.com> | 2016-12-22 14:25:34 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2016-12-22 14:25:34 +0300 |
commit | da2b2cf1e039630cec84e8b67d99c4d578361b0d (patch) | |
tree | abe94ca9f27fa0322e0fda2ee4922e08e91bcdb9 /src/http/ngx_http_request.h | |
parent | 42f3dd2b843157ea0982b165b69c5dad84095811 (diff) | |
download | nginx-da2b2cf1e039630cec84e8b67d99c4d578361b0d.tar.gz nginx-da2b2cf1e039630cec84e8b67d99c4d578361b0d.zip |
Cache: support for stale-while-revalidate and stale-if-error.
Previously, there was no way to enable the proxy_cache_use_stale behavior by
reading the backend response. Now, stale-while-revalidate and stale-if-error
Cache-Control extensions (RFC 5861) are supported. They specify, how long a
stale response can be used when a cache entry is being updated, or in case of
an error.
Diffstat (limited to 'src/http/ngx_http_request.h')
0 files changed, 0 insertions, 0 deletions