cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: How do i disable caching for Transformers.......
Date Tue, 12 Feb 2002 17:26:35 GMT
Transformers are not cacheable by default.

Read Cacheable.java from the org.apache.cocoon.caching package, see
TraxTransformer.java (or others implementing Cacheable) for examples of
cacheable transformers.

Vadim

> From: Chitharanjan Das [mailto:cdas@accordiasys.com]
> 
> How do I disable caching for the transformers?
> 
> I am experimenting with transformers and I am not able to remove
objects
> cached for transformers.
> To disable caching I did the following..
> 
> In cocoon.xcomf, I enabled the non caching event pipeline
> 	<event-pipeline
>
class="org.apache.cocoon.components.pipeline.NonCachingEventPipeline"/>
> 
> 
> I then restarted Cocoon and still in log file I get the info
> 
> DEBUG   (2002-02-12) 01:57.54:730   [cocoon  ] (/accordia/tsttr)
> HttpProcessor[8080][4]/DefaultPool: Retrieving a
> com.accordia.display.transformation.StringTransformer from the pool
> 
> How can I disable caching ? or how do I delete cached objects ?
> 
> The only way I am able to test is by changing the transformer names in
> site-map for each run, which is kind a pain....
> 
> Could any one of you please, provide a small note on cache options for
> Cocoon for Generators, Actions , Transformers etc.,
> 
> Thanks in advance,
> Chiths


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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