cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: Caching results of SQL Queries?
Date Fri, 15 Nov 2002 18:37:10 GMT

On Friday, Nov 15, 2002, at 17:43 Europe/London, Justin Fagnani-Bell 
wrote:

>   If you're doing the SQL queries in a custom component (generator, 
> transformer) you can use Cocoon's caching system. Have you class 
> implement Cachable, and in the generateValidity() method you can 
> return an object with the last modification date of the database.
>

OK, so you suggesting I could extend something like SQLTransformer to 
make a CacheableSQLTransformer.

Hmmm


regards Jeremy


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message