I think that TS have something really like the squid done, it will try to serve stale content as much as possible. if someone would like to take a deep look at what we can do, may start from HttpTransact::is_stale_cache_response_returnable(State* s) in proxy/http/HttpTransact.cc.
Florian Diederichsen is watching on this request too. looks we need to get it clear. thanks 在 2011-09-26一的 22:29 +0100,Mav Peri写道: > Thanks Miles, > > Can Bryan provide some info on this and when (and if) there is an ETA on > this? > > If some support can be provided we can help with getting the work done. > > Mav > > -----Original Message----- > From: Miles Libbey [mailto:[email protected]] > Sent: 26 September 2011 22:26 > To: [email protected] > Subject: Re: update cache in background > > They (http://tools.ietf.org/html/rfc5861) > can be supported by writing a plugin -- I know Yahoo has one, but it > needs a bit of work to get it out into the project. I think Bryan was > going to spend some time on doing that. > > miles > > On Sep 26, 2011, at 12:10 PM, Mav Peri wrote: > > > Thanks for the reply > > > > So presumably there is no way to do this with ats? > > > > From: Nick Berry [mailto:[email protected]] > > Sent: 26 September 2011 19:19 > > To: <[email protected]> > > Subject: Re: update cache in background > > > > Sounds like you're interested in stale-while-revalidate [1]. It does > not appear to be supported in ATS, but is implemented in Squid [2] and > works quite well. > > > > [1] http://www.mnot.net/blog/2007/12/12/stale > > [2] http://www.squid-cache.org/Doc/config/refresh_pattern/ > > > > On Sep 24, 2011, at 11:55 AM, Mav Peri wrote: > > > > > > Hi Guys, > > > > Is it possible to get ATS on stale hit to serve from cache and refresh > the cache in the background? > > > > The use case is when we are experiencing issues with the origin server > I would like to serve stale content (compared to nothing) and then get > ats to refresh it in the background instead of holding traffic up. > > > > Thanks > > > > Mav > > > > > > > > ______________________________________________________________________ > > This email has been scanned by the MessageLabs Email Security System. > > For more information please visit http://www.messagelabs.com/email > > ______________________________________________________________________ > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________
