v9-RC: Content published notification on replica servers #10649
vsilvar
started this conversation in
Features and ideas
Replies: 1 comment 3 replies
-
Hi @vsilvar - I'm not sure what you mean here? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
By design, I think,
ContentPublishedNotification
is only triggered on the master server.This means that if, for example, a notification is needed to clear some sort of custom view cache, we need to rely on both
ContentCacheRefresherNotification
andMediaCacheRefresherNotification
.While this works, it's not ideal, as it seems that
ContentCacheRefresherNotification
not only triggers for published content but for simple saves as well, with no real way to discern them.Is there any way to achieve this?
Or even better, could a notification be triggered when the Umbraco
CachedPartial
gets cleared, so we could hook into a single point?Beta Was this translation helpful? Give feedback.
All reactions