Search Results for

    Show / Hide Table of Contents
    View Source

    Interface ICacheRefresher<T>

    Strongly type cache refresher that is able to refresh cache of real instances of objects as well as IDs

    Namespace: Umbraco.Cms.Core.Cache
    Assembly: Umbraco.Core.dll
    Syntax
    public interface ICacheRefresher<T> : ICacheRefresher, IDiscoverable
    Type Parameters
    Name Description
    T
    Remarks

    This is much better for performance when we're not running in a load balanced environment so we can refresh the cache against a already resolved object instead of looking the object back up by id.

    Methods

    View Source

    Refresh(T)

    Declaration
    void Refresh(T instance)
    Parameters
    Type Name Description
    T instance
    View Source

    Remove(T)

    Declaration
    void Remove(T instance)
    Parameters
    Type Name Description
    T instance
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • Refresh(T)
      • Remove(T)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX