On Wed, 2003-04-02 at 09:42, zze-MORY Nicolas FTRD/DMI/REN wrote:
> How can i turn off the cache under Cocoon 2.1 ? because :
>
>
> <event-pipeline
>
> class="org.apache.cocoon.components.pipeline.NonCachingEventPipeline"/>
>
> <stream-pipeline
>
> class="org.apache.cocoon.components.pipeline.NonCachingStreamPipeline"/>
>
> doesn't exist under Cocoon 2.1
You can now configure this in the sitemap itself. Inside
<map:components> you should find the following (or if it's not there,
add it):
--------------------------------------------
<map:pipes default="caching">
<map:pipe name="caching"
src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline"/>
<map:pipe name="caching-point"
src="org.apache.cocoon.components.pipeline.impl.CachingPointProcessingPipeline">
<autoCachingPoint>On</autoCachingPoint>
</map:pipe>
<map:pipe name="noncaching"
src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline"/>
<!-- The following two can be used for profiling:-->
<map:pipe name="profile-caching"
src="org.apache.cocoon.components.profiler.ProfilingCachingProcessingPipeline"/>
<map:pipe name="profile-noncaching"
src="org.apache.cocoon.components.profiler.ProfilingNonCachingProcessingPipeline"/>
</map:pipes>
--------------------------------------------
change the default attribute from "caching" to "noncaching".
Alternatively, you can configure this on a per-pipeline level by adding
an attribute named "type" to the map:pipeline element, e.g.
<map:pipeline type="noncaching">
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]