httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@ast.cam.ac.uk (David Robinson)
Subject Re: cache verification
Date Mon, 04 Mar 1996 13:19:00 GMT
>       Looking through the caching code, it looks like the cache
>hit/miss logic should have two modes.. the one mode which is in the
>code now, and a mode which I'll describe below..
>
>        Seems like different applications have different needs, as far
>as their choice of cache logic goes.
>
>Client = C
>Proxy = P
>Server = S
>
>C->P GET http://www.c2.org/
>if(localcachefileexists)
>{
>        P->S GET / - IMS(date on cache file)
>        if(304)
>        {
>           cache_hit
>        }
>        else
>        {
>           cache_miss
>        }
>}
>else
>{
>        cache_miss
>}

How does this differ from the current behaviour, and when is it better?

 David.

Mime
View raw message