--On August 17, 2005 9:52:32 PM +0100 Colm MacCarthaigh <[EMAIL PROTECTED]> wrote:

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.

Does that make sense?

Um, isn't that what we already do?  -- justin

Reply via email to