cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobia <tobia.confo...@linux.it>
Subject Re: including multiple xml files into transformation
Date Mon, 08 Jan 2007 08:57:56 GMT
Mark Lundquist wrote:
> The use of document() in Cocoon is discouraged, because it doesn't
> play nice with cache validity.  If the content supplied by the
> included resource changes, Cocoon has no way of knowing it and will
> serve stale content from the cache.

What if I only reference static files, as in document('data.xml'), and
not Cocoon urls?  I just did a test and there doesn't seem to be any
cache problem, probably because the XSLT processor reads the file from
disk every time.  Is this kind of usage discouraged/inefficient?


Tobia

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message