Welcome! Log In Create A New Profile

Advanced

Re: proxy_cache_valid for zero seconds

November 20, 2012 03:11PM
Put another way -- can I store/cache all content from the proxied upstream (up to the limits defined in proxy_cache_path), but serve from the cache only when the proxied upstream fails (e.g. timeout, error)?

We have content that should be dynamic, and hence every request should be transparently proxied. However, I want to protect against the situation when the upstream is down or having trouble. Serving a stale response (though normally undesirable), is better than returning an error.

Thank you
SubjectAuthorPosted

proxy_cache_valid for zero seconds

shmaptyNovember 14, 2012 04:09PM

Re: proxy_cache_valid for zero seconds

shmaptyNovember 20, 2012 03:11PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 73
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 184 on July 08, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready