Colm MacCarthaigh wrote:
>
> On Wed, Aug 17, 2005 at 04:11:01PM -0400, Brian Akins wrote:
> > I have the thought that we could also serve files that have "recently
> > expired" (recent being configurable) if the object was being cached.
> > Psudocode:
> >
> > if(expired < (now - recent)) {
>
> Content definitely should not be served from the cache after it has
> expired imo. However I think an approach like;
>
> if((now + interval) > expired) {
> if(!stat(tmpfile)) {
> update_cache_from_backend();
> }
> }
>
> ie "revalidate the cache content after N-seconds before it is due to be
> expired" would have the same effect, but avoid serving stale content.
>
Would be interesting to profile that to determine how expensive those
stats could be...
--
===========================================================================
Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/
"Sith happens" - Yoda