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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to