cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: GzipPipeline
Date Sat, 10 Jul 2004 01:58:03 GMT
   Date: 2004-07-09T18:58:03
   Editor: JoergHeinicke <joerg.heinicke@gmx.de>
   Wiki: Cocoon Wiki
   Page: GzipPipeline
   URL: http://wiki.apache.org/cocoon/GzipPipeline

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -7,40 +7,40 @@
 === Usage ===
 
 First declare the new components in the sitemap:
-{{{
-<map:actions>
-	<map:action name="gzip" logger="pipe.gzip" src="fcc.ima.cocoon.GzipAction"/>
-</map:actions>
-<map:pipes default="gzip-no-cache">
-	<map:pipe name="gzip-no-cache" src="fcc.ima.cocoon.GzipNonCachingProcessingPipeline"

-				logger="pipe.gzip"/>
-</map:pipes>
+{{{
+<map:actions>
+	<map:action name="gzip" logger="pipe.gzip" src="fcc.ima.cocoon.GzipAction"/>
+</map:actions>
+<map:pipes default="gzip-no-cache">
+	<map:pipe name="gzip-no-cache" src="fcc.ima.cocoon.GzipNonCachingProcessingPipeline"

+				logger="pipe.gzip"/>
+</map:pipes>
 }}}
 
 Create a pipe that is gzip aware:
 
-{{{
-<map:pipelines>
-	<map:pipeline type="gzip-no-cache">
-		<map:match src="my-url">
-			<map:act type='gzip'/>
-			<map:read src='my-file'/>
-		</map:match>
-	</map:pipeline>
-</map:pipelines>
+{{{
+<map:pipelines>
+	<map:pipeline type="gzip-no-cache">
+		<map:match src="my-url">
+			<map:act type='gzip'/>
+			<map:read src='my-file'/>
+		</map:match>
+	</map:pipeline>
+</map:pipelines>
 }}}
 
 In order to activate gzip compression use:
-{{{
-<map:act type='gzip'/>
+{{{
+<map:act type='gzip'/>
 }}}
 
 and for deactivating it:
 
-{{{
-<map:act type='gzip'>
-	<map:parameter name='use' value='0'/>
-</map:act>
+{{{
+<map:act type='gzip'>
+	<map:parameter name='use' value='0'/>
+</map:act>
 }}}
 
 You can (de)activate compression as many times as needed in a pipeline.
@@ -61,7 +61,7 @@
 === See also ===
 
  *  [:Gzip_XML_Serializer]
- *  [:Cocoon_and_Apache_mod_gzip]
+ *  [:Cocoon%and%Apache%mod%gzip]
 
 Comments and improvements are welcome!.
 

Mime
View raw message