> From: Volker Schneider [mailto:[EMAIL PROTECTED]]
> 
> Dear colleagues,
> 
> we want to do some perfomance tests with cocoon 2.0.2. Does anybody
know
> which is the best way to switch off page caching of cocoon?
> 
> There are some entries in cocoon.xconf, but we dont't know exactly
what they
> are doing.

You need to uncomment NonCachingXXXPipelines and comment out
CachingXXXPipelines:


  <!-- Stream Pipeline:
    Either collects a Reader and lets it produce a character stream
    or connects an EventPipeline with a Serializer and lets them produce
    the character stream. Alternatives to CachingStreamPipeline are:
    <stream-pipeline
class="org.apache.cocoon.components.pipeline.NonCachingStreamPipeline"/>
  -->
  <stream-pipeline
class="org.apache.cocoon.components.pipeline.CachingStreamPipeline"
                   logger="core.stream-pipeline"
                   pool-max="32" pool-min="8" pool-grow="4"/>

  <!-- Event Pipeline:
    Connects the generator and the various transformers and produces a
    character stream. Alternatives to CachingEventPipeline are:
    <event-pipeline
class="org.apache.cocoon.components.pipeline.NonCachingEventPipeline"/>
  -->
  <event-pipeline
class="org.apache.cocoon.components.pipeline.CachingEventPipeline"
                  logger="core.event-pipeline"
                  pool-max="32" pool-min="8" pool-grow="4"/>



Vadim


> Thank you, best regards
> - Volker -
> 


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

Reply via email to