cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hannes Haug <>
Subject Re: don't cache - validate
Date Mon, 24 Jan 2000 17:54:59 GMT
Paul Russell wrote:
> Assuming I understand the intention correctly, at some undefined
> point in the future, we'll be able to generate a page from multiple
> sources. Some of these sources will be static XML documents (menus?
> 'toolbar's? god knows what else..) and some will be dynamic (god
> knows what else ;). Now, shouldn't the framework attempt to avoid
> re-parsing the statics (which for all we know could be huge). Frankly
> I tend to subscribe to the school of thought that says that all non-
> trivial caching is worthwile. We can find out how much memory we're
> using, so that's not a problem. I'm half tempted to suggest using
> a separate module as a generic object cache (although in fairness we
> may be doing that already).

Of course caching is good. But doing our own caching in java in the
servlet engine is not that fast. Let's use a fast cache in front of
the servlet engine. Cocoon just has to do the cache validation.


View raw message