cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30356] - CIncludeTransformer + event aware caching
Date Thu, 12 Aug 2004 12:28:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30356>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30356

CIncludeTransformer + event aware caching





------- Additional Comments From vgritsenko@apache.org  2004-08-12 12:28 -------
Unico, thanks for the pointer. IIRC, problem with CachingCIncludeTransformer in
2.0 is that SitemapSource returned hash of pipeline key and pipeline validity as
a last modification date of the source (at least in some versions) [1].

In 2.1, we are using newer Source interface which has getValidity in addition to
getLastModified. Because of this change, CachingCInclude can be rewritten using
getValidity (and that's what you did).

Is it time to re-deprecate and re-implement CachingCInclude? Carsten? :-)

While at it, we could clean up current CIncludeTransformer also.

[1]
http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/src/java/org/apache/cocoon/components/source/SitemapSource.java?rev=1.2&view=auto

Mime
View raw message