Interface ICacheManager
Provides unified access to all published content caches.
Namespace: Umbraco.Cms.Core.PublishedCache
Assembly: Umbraco.Core.dll
Syntax
public interface ICacheManager
Remarks
The cache manager aggregates the content, media, member, and domain caches, providing a single entry point for accessing cached published content. It also provides access to the elements-level cache shared across snapshots.
Properties
View SourceContent
Gets the IPublishedContentCache.
Declaration
IPublishedContentCache Content { get; }
Property Value
| Type | Description |
|---|---|
| IPublishedContentCache |
Domains
Gets the IDomainCache.
Declaration
IDomainCache Domains { get; }
Property Value
| Type | Description |
|---|---|
| IDomainCache |
ElementsCache
Gets the elements-level cache.
Declaration
IAppCache ElementsCache { get; }
Property Value
| Type | Description |
|---|---|
| IAppCache |
Remarks
The elements-level cache is shared by all snapshots relying on the same elements, ie all snapshots built on top of unchanging content / media / etc.
Media
Gets the IPublishedMediaCache.
Declaration
IPublishedMediaCache Media { get; }
Property Value
| Type | Description |
|---|---|
| IPublishedMediaCache |
Members
Gets the IPublishedMemberCache.
Declaration
IPublishedMemberCache Members { get; }
Property Value
| Type | Description |
|---|---|
| IPublishedMemberCache |