You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Berin Loritsch <bl...@apache.org> on 2001/05/04 21:48:20 UTC

[C2] DatabaseReader

Check out the new update to DatabaseReader.  I made it cacheable,
and properly handle Last-Modified logic and prepopulate everything.
CachingKeys and CacheValidity is done pre-generation, but post-setup.
This allowed me to set up everything ahead of time, but forced me
to be creative with the Connection closing.

Basically the response went from >400ms for a 34KB image each request
to ~10ms for each request after that.

If anyone wants to give it a try, I highly recommend the update!

Also, make sure you update the libs--all the avalon jars have been
updated today (LogKit with functionality, and Framework/Excalibur
with bugfixes).

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org