using ContentCache after ContentService.Published event
hello
I have a custom method that needs to perform some logic using the ContentCache after a node is published in the backoffice, but the cache doesn't include the node at the point in time that the Published event is raised.
Maybe you can hook in to the
PageCacheRefresher.CacheUpdated event.
This will run when the cache is updated. Keep in mind that if you are running a load balanced environment this will execute on all servers. Where ContentService.Published event only runs on the server where it has been triggered.
using ContentCache after ContentService.Published event
hello I have a custom method that needs to perform some logic using the ContentCache after a node is published in the backoffice, but the cache doesn't include the node at the point in time that the Published event is raised.
http://issues.umbraco.org/issue/U4-7191
anyone know how i could achieve this? thanks
Maybe you can hook in to the PageCacheRefresher.CacheUpdated event.
This will run when the cache is updated. Keep in mind that if you are running a load balanced environment this will execute on all servers. Where ContentService.Published event only runs on the server where it has been triggered.
Dave
awesome, thanks Dave. looks like that was what I am after :D
is working on a reply...