[Zope] Cacheing

Peter Sabaini cccp@oeh.tu-graz.ac.at
Thu, 16 Sep 1999 14:46:07 +0200 (CEST)


On Tue, 14 Sep 1999, Evan Simpson wrote:
[snip]
:> > why not just use some separate subsystem for caching, eq. a squid
:> > in httpd accelerator mode?
:
:Squid (or Apache) will work fine, but under very limited circumstances:
:
:o The cached object is a 'final' document, rather than a 'part' (eg. a banner
:or toolbar)

the cacheable object is a final document, but it could be
cacheable if you have some least common denominator of the 'parts'
(the assembled document would be as young as the youngest part). 

:o Your cache rules are *very* simple

you would have to revalidate every object.

:o You don't need authentication or side effects of the URL lookup

there are cases where even authenticated sessions can produce
cacheable objects, for instance static images. 

:o You're willing to explicitly kill the cache, or just wait, when you make
:changes

no, you just would have to tell the cache to look if the requested
document is younger than the one cached.

peter.
_________________________________________________
peter sabaini, mailto: c c c p@oeh.tu-graz.ac.at,
http://oeh.tu-graz.ac.at/~cccp/
- - - - - - - - - - - - - - - - - - - - - - - - -
Any sufficiently perverted technology is 
indistinguishable from Perl. (ca. a.c. clarke)
-------------------------------------------------