Hi,
I'm trying to cache a document generated by JXTemplateGenerator.
After reading some threads about making JXTemplateGenerator cacheable,
I've tried:
<selectElemType elemTypeKey="${cocoon.request.elemTypeKey}"
xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"
jx:cache-key="testing key"
jx:cache-validity="${org.apache.cocoon.caching.NOPCacheValidity()}"
date="${java.util.Date().toString()}"/>
and in sitemap.xmap:
<map:generate src="text.xml" type="jx"/>
<map:serialize type="xml"/>
attribute date value changes after each request. Shouldn't result be
cached, and the date value always the same?
What I'm missing here?
Thanks for any help you cloud provide.
Rui
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]