Class TemplateCacheRefresherNotification
Notification published when template cache needs to be refreshed.
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class TemplateCacheRefresherNotification : CacheRefresherNotification, INotification
Remarks
This notification is used to synchronize template cache invalidation across multiple servers in a load-balanced environment.
Constructors
View SourceTemplateCacheRefresherNotification(object, MessageType)
Initializes a new instance of the TemplateCacheRefresherNotification class.
Declaration
public TemplateCacheRefresherNotification(object messageObject, MessageType messageType)
Parameters
| Type | Name | Description |
|---|---|---|
| object | messageObject | The payload containing information about the templates to refresh. |
| MessageType | messageType | The type of cache refresh operation. |