cziegeler 2003/01/08 08:20:13
Modified: src/java/org/apache/cocoon/components/pipeline/impl
AbstractCachingProcessingPipeline.java
Log:
Added smart caching (which is the default and acts like the old 2.0.x caching)
Revision Changes Path
1.11 +3 -2
xml-cocoon2/src/java/org/apache/cocoon/components/pipeline/impl/AbstractCachingProcessingPipeline.java
Index: AbstractCachingProcessingPipeline.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/pipeline/impl/AbstractCachingProcessingPipeline.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- AbstractCachingProcessingPipeline.java 5 Dec 2002 10:04:39 -0000 1.10
+++ AbstractCachingProcessingPipeline.java 8 Jan 2003 16:20:13 -0000 1.11
@@ -508,7 +508,8 @@
} else {
cachedPipelineKey = null;
}
- finished = false;
+ // stop on longest key for smart caching
+ finished = this.doSmartCaching;
this.completeResponseIsCached = false;
}
}
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]