[Zope-dev] Declaring Dependencies for XML documents (Was: HowTo Improve Cache Coherency for RAM/Disk Cache Manager...?)

Paul Winkler pw_lists@slinkp.com
Tue, 4 Mar 2003 15:11:11 -0500


On Tue, Mar 04, 2003 at 02:32:31PM -0500, Shane Hathaway wrote:
> Ah, but you might have something there.  What if there were a cache 
> manager that simply dropped its contents whenever anything changes in 
> ZODB?  You could associate nearly all scripts and templates with that 
> cache manager without any fear of stale cache entries.  For many sites, 
> it could be an instant win.

interesting idea. there's certainly plenty of sites, though, where
the cache would get invalidated so often that the cache would be
of limited value.  e.g. a busy squishdot-type site, or many CMF sites.
and on those kind of sites, the busiest times are when you most need
the cacheing...

but the simplicity is certainly appealing...  and in my case, i 
have a CMF site where this would likely be quite useful since
the public never logs in, only our content management team, and
we tend to make changes on dev servers and push them to production
in a big bunch.

-- 

Paul Winkler
http://www.slinkp.com