What's a good caching reverse proxy which can serve stale content if the underlying application becomes unavailable?

Squid can do this in version 2.7. Specifically, use the stale-if-error directive. More details can be found at.

Squid can do this in version 2.7. Specifically, use the stale-if-error directive. More details can be found at: mnot.net/blog/2007/12/12/stale.

It looks like Varnish can't handle this requirement just yet: varnish.projects.linpro.no/ticket/369.

2 For anyone reading this now, the ticket has been closed and marked fixed 4 months after Simon's answer. Apparently this feature is now known as "saint mode". – Frank Farmer Jan 13 '10 at 21:06.

It would depend on how long 'unavailable' is. Squid has a config 'refresh_stale_hit' which is mostly designed to remove some latency by allowing slightly stale content to be served while the cache is updated. Pretty sure it won't override getting a bad response from the web server, though.

There is a full-on 'offline' mode that will keep serving cached results (designed for ... wait for it ... offline use! ) so the code paths are in there: not sure if you can configure it to both proxy good results, and ignore bad ones.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions