Search Results for

    Show / Hide Table of Contents
    View Source

    Class TemplateCacheRefresherNotification

    Notification published when template cache needs to be refreshed.

    Inheritance
    object
    CacheRefresherNotification
    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 Source

    TemplateCacheRefresherNotification(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.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX