cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <coc...@leverageweb.com>
Subject Re: Cocoon 2.1 cache
Date Wed, 02 Apr 2003 13:57:22 GMT
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
><n.mory@rd.francetelecom.com> 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:
> > cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail:
> > cocoon-users-help@xml.apache.org
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org


---------------------------------------------------------------------
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