Hi,
I've implemented the cocoon clear-cache for an instance of Lenya. This
is needed as a publication includes several page fragments using the
cinclude mechanism which do not "re-fresh" after editing. (a fragment
gets edited but the page served contains the cahced version of the
fragment.) The idea of the clear cache was to allow content editors
the ability to "refresh the page" after editing.
However the clear cache clears the cache for all publications. This is a
bad thing. Has anyone limited the clear cache to a particular
publication or a particular page ?
Thanks in advance
Lee C
Clear cache implemented is :
<map:action name="clear-cache" logger="sitemap.action.clear-cache"
src="org.apache.cocoon.acting.ClearCacheAction"/>
<!-- clear cache -->
<map:match pattern="clearcache.html">
<map:act type="clear-cache">
<map:generate src="status" type="status"/>
<map:serialize type="xml"/>
</map:act>
</map:match>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]