> > > > 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. > > To a large extent mod_cache_requester (which from inspection seems to be > much further along than I thought) will solve this problem :) > I am already working on it. I have also posted initial version of this module.
http://utdallas.edu/~parinshah/mod-c-requester.0.2.tar.gz -Parin.