cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: cache and performance
Date Wed, 05 Jul 2000 10:42:15 GMT
Torsten Curdt wrote:
> 
> [snip]
> > > > Because it's dynamically generated and it doesn't implement any
> > > > "hasChanged()" logic that tells the cache system whether or
> > not the page
> > > > should be cached.
> > >
> > > Most of the projects we are working on are so heavily dynamic that this
> > > would mean almost none of the pages can be fully cached!? :-(
> >
> > There is nothing really dynamic, everything is "piece-wise static". Even
> > if you page changes each second (because you have a second timer on top)
> > but it's requested 10 times per second, you achieve 10x speed by
> > applying a caching strategy.
> >
> > Of course, your caching strategy must take less that recreate the page
> > on average.
> >
> > > What do you mean with page? The XML-source part not extended by
> > XSP or what?
> > >
> > > What are the caching strategy for the XML,XSLT,XSP,SQL parts in Cocoon1
> > > vs. Cocoon2?!
> >
> > Exactly the same: we provide the caching architecture, you write your
> > caching strategy.
> 
> ...but how do I define this strategy? You were talking about the
> "hasChanged()"
> logic... I can figure out how that works with XSP pages but what's up with
> the XML files?

The XML files are cached until the change on disk.

The XInclude processor should cache those included pieces too (Donald,
are you doing this yet?)

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message