bruno 2003/09/03 13:27:01
Modified: src/webapp sitemap.xmap
Log:
Added outputBufferSize parameter (commented out) to show it exists,
together with some information about it.
Revision Changes Path
1.31 +21 -3 cocoon-2.1/src/webapp/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/webapp/sitemap.xmap,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- sitemap.xmap 2 Sep 2003 12:37:48 -0000 1.30
+++ sitemap.xmap 3 Sep 2003 20:27:01 -0000 1.31
@@ -321,11 +321,29 @@
| cache points.
+-->
<map:pipes default="caching">
- <map:pipe name="caching"
src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline"/>
+ <map:pipe name="caching"
src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline">
+ <!--+
+ | If not specified, the value of the outputBufferSize parameter
is -1.
+ | This will cause Cocoon to buffer all output until processing
has finished
+ | before sending it to the client. This has the advantage that in
case
+ | an error occurs during the processing of the SAX-pipeline,
Cocoon is still
+ | able to reset the response and send an error page instead.
Otherwise the
+ | error page will be appended to the output already send to the
client.
+ | If you are generating larger pages, it might be benificial to
enable
+ | this parameter, so that output is gradually send to the client
as it
+ | is being generated.
+ | For more granularity, you can also supply this parameter to
+ | individual map:pipeline elements (using map:parameter syntax).
+ +-->
+ <!-- parameter name="outputBufferSize" value="8192"/ -->
+ </map:pipe>
<map:pipe name="caching-point"
src="org.apache.cocoon.components.pipeline.impl.CachingPointProcessingPipeline">
<autoCachingPoint>On</autoCachingPoint>
+ <!-- parameter name="outputBufferSize" value="8192"/ -->
+ </map:pipe>
+ <map:pipe name="noncaching"
src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline">
+ <!-- parameter name="outputBufferSize" value="8192"/ -->
</map:pipe>
- <map:pipe name="noncaching"
src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline"/>
</map:pipes>
</map:components>