Re: Cocoon 2.1 cache

2003-04-02 Thread Bruno Dumon
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
   autoCachingPointOn/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]



Re: Cocoon 2.1 cache

2003-04-02 Thread Alex Romayev
In 2.1 you can do it in the sitemap

Option1 -- at the individual pipeline level:
map:pipeline type=noncaching
  ...

Option 2 -- set the default in the pipes declaration
map:pipes default=caching
  

Cheers,
-Alex

--- zze-MORY Nicolas FTRD/DMI/REN
[EMAIL PROTECTED] 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
 
 Thanks
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cocoon 2.1 cache

2003-04-02 Thread Geoff Howard
No, caching pipelines only caches cacheable content.  This is determined 
by Cocoon based on the information the Generator provides.  The file 
generator is cacheable by default based on the last-modified time of the 
file.  But the ServerPagesGenerator that handles all xsp's is non-Caching 
unless you provide the needed implementation I described below.

Geoff

At 08:29 AM 4/2/2003, you wrote:
In 2.1 you can do it in the sitemap

Option1 -- at the individual pipeline level:
map:pipeline type=noncaching
  ...
Option 2 -- set the default in the pipes declaration
map:pipes default=caching
  
Cheers,
-Alex
--- zze-MORY Nicolas FTRD/DMI/REN
[EMAIL PROTECTED] 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

 Thanks


-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Cocoon 2.1 cache

2003-04-01 Thread zze-MORY Nicolas FTRD/DMI/REN

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

Thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]