cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <>
Subject RE: Caching for database driven sites
Date Wed, 15 May 2002 21:45:27 GMT
Marcelo (and anyone else listening) -

I'm a co-worker of Steve's who you responded to below.  I had been looking
at your ESI submission (though from the past threads we saw it looked like
it had been put on hold for inclusion in cocoon and I don't find it in the
latest snapshot) and we're not sure if it can fit what we need.  The code
appears to assume that the database knows the exact url that needs to be
uncached (in the simple telnet example) or at best the dependant pipeline
components (in the advanced telnet example).  

We'll need (and so would others I think) something that de-couples this.
For example, the database knows that the article table has been updated for
record 323456 from the PAGELAYOUT table, but it doesn't (and shouldn't have
to) know what cocoon cached items depend on it.  The trigger should be able
to send the basic message: invalidate PAGELAYOUT 323456 and let cocoon keep
track of (or figure out) what cached objects depend on that.  In our case it
could be 1, but it could be 30.  We are porting an existing data
architecture over to cocoon and the complexity really rules out totally
restructuring the back end just to simplify the caching process.

Just to be clear, we are only worrying about the basic generator caching
here.  We know that cocoon can take care of figuring out its own
dependencies for aggregates and includes which we are using as well.

Have I misunderstood your implementation?  Do you see a use for your ESI
work in the above scenario?

Geoff Howard

-----Original Message-----
From: Marcelo F. Ochoa []
Sent: Tuesday, May 14, 2002 10:43 AM
Subject: Re: Caching for database driven sites

Steven  :

  DBPrism CMS uses this approach using ESI invalidation protocol 
( that is an standard.
  You could get more information about Cocoon's External Cache 
Invalidator Server at
   A flow of how the invalidator works is at
  Best regards, Marcelo.

PD: Cocoon2 CVS branch includes new apis to access to Store, I'll 
implement this Server using it in the next release.

Marcelo F. Ochoa -
Do you Know DB Prism? Look @
More info?
Chapter 21 of the book "Professional XML Databases" (Wrox Press
Chapter 8 of the book "Oracle & Open Source" (O'Reilly
Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN
Paraje Arroyo Seco - Campus Universitario
(7000) Tandil - Bs. AS. - Argentina
Te: +54-2293-444430 Fax: +54-2293-444431

To unsubscribe, e-mail:
For additional commands, email:

To unsubscribe, e-mail:
For additional commands, email:

View raw message