Mercurial > hg > nginx-quic
comparison src/http/ngx_http_special_response.c @ 6905:9a9e13686869
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.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Thu, 22 Dec 2016 14:25:34 +0300 |
parents | 25203fc377fb |
children | 3ef4cadfad7f |
comparison
equal
deleted
inserted
replaced
6904:5e2423bce883 | 6905:9a9e13686869 |
---|