[Zope] HTTP caching troubles

Joel Burton jburton@scw.org
Thu, 19 Jul 2001 18:45:06 -0400 (EDT)


On Tue, 17 Jul 2001, Nicolas Villetard wrote:

> I use a "HTTP cache manager" (Zope 2.4) for caching dynamic pages
> written in python (external methods called from DTML methods).
> It seems to work correctly when I try on my computer (which is also the
> server) : the script is called only the first time.
> But when I try on another computer (but same server) the script is
> called the first time too !
> 
> It's not a problem of cache "interval" (I checked it).
> 
> It seems that the cache is specific to a computer...(!!?)
> 
> Is there an explanation ? solution ?

This is *exactly* the correct behavior. HTTP-cache is essentially
notifying the client computer to keep this in its cache. If you go to a
different client computer, it will request the document itself.

The RAM cache may be what you want. This keeps things in Zope RAM.

-- 
Joel Burton   <jburton@scw.org>
Director of Information Systems, Support Center of Washington