AEM (CQ5.6) solves this issue with the new ‘On Receive’ trigger that has been made available to the Publish flush agents:
In CQ5.5, there is no such trigger (at this stage). There is a package that allows the cache to be invalidated when DAM assets are replicated which can be found here, but this still does not allow cache invalidation when other types of nodes are replicated.
My solution to this is to take the DAM asset invalidation workflow, script, and launcher, and copy/modify these to suit the replication purposes that are required. For example, you could create a workflow that is triggered on modification of nodes of type nt:file that live under your /etc/designs/myproject tree, and this workflow can run a script to invalidate the cache. Careful implementation of these workflows will ensure that any replication successfully invalidates the cache when required.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.