Namespace Umbraco.Cms.Core.Cache
Classes
AppCaches
Represents the application caches.
AppPolicedCacheDictionary<TKey>
Provides a base class for implementing a dictionary of IAppPolicyCache.
ApplicationCacheRefresher
Cache refresher for application section (tree) caches.
CacheKeys
Constants storing cache keys used in caching.
CacheRefresherBase<TNotification>
A base class for cache refreshers that handles events.
CacheRefresherCollection
Represents a collection of ICacheRefresher instances.
CacheRefresherCollectionBuilder
Builds a CacheRefresherCollection from registered ICacheRefresher instances.
CacheRefresherNotificationFactory
A ICacheRefresherNotificationFactory that uses ActivatorUtilities to create the CacheRefresherNotification instances
ContentCacheRefresher
Provides cache refresh functionality for content items, ensuring that content-related caches are updated or invalidated in response to content changes.
ContentCacheRefresher.JsonPayload
Represents a JSON-serializable payload containing information about a content or tree change event, including identifiers, change types, and culture-specific publishing details.
ContentTreeChangeDistributedCacheNotificationHandler
ContentTypeCacheRefresher
Cache refresher for content type, media type, and member type caches.
ContentTypeCacheRefresher.JsonPayload
Represents the JSON payload for content type cache refresh operations.
ContentTypeChangedDistributedCacheNotificationHandler
ContentTypeChangedDistributedCacheNotificationHandlerBase<TEntity, TNotification>
ContentTypeChangedDistributedCacheNotificationHandlerBase<TEntity, TNotification, TNotificationObject>
DataTypeCacheRefresher
Cache refresher for data type caches.
DataTypeCacheRefresher.JsonPayload
Represents the JSON payload for data type cache refresh operations.
DataTypeDeletedDistributedCacheNotificationHandler
DataTypeSavedDistributedCacheNotificationHandler
DatabaseServerMessengerNotificationHandler
Ensures that distributed cache events are setup and the IServerMessenger is initialized
DeepCloneAppCache
Implements IAppPolicyCache by wrapping an inner other IAppPolicyCache instance, and ensuring that all inserts and returns are deep cloned copies of the cache item, when the item is deep-cloneable.
DefaultRepositoryCachePolicy<TEntity, TId>
Represents the default cache policy.
DeletedDistributedCacheNotificationHandlerBase<TEntity, TNotification>
DeletedDistributedCacheNotificationHandlerBase<TEntity, TNotification, TNotificationObject>
DictionaryAppCache
Implements IAppCache on top of a concurrent dictionary.
DictionaryCacheRefresher
Cache refresher for dictionary item caches.
DictionaryItemDeletedDistributedCacheNotificationHandler
DictionaryItemSavedDistributedCacheNotificationHandler
DistributedCache
Represents the entry point into Umbraco's distributed cache infrastructure.
DistributedCacheNotificationHandlerBase<TEntity, TNotification>
DomainCacheRefresher
Cache refresher for domain caches.
DomainCacheRefresher.JsonPayload
Represents the JSON payload for domain cache refresh operations.
DomainDeletedDistributedCacheNotificationHandler
DomainSavedDistributedCacheNotificationHandler
FastDictionaryAppCache
Implements a fast IAppCache on top of a concurrent dictionary.
FastDictionaryAppCacheBase
Provides a base class to fast, dictionary-based IAppCache implementations.
HttpContextRequestAppCache
Implements a IAppCache on top of Microsoft.AspNetCore.Http.IHttpContextAccessor
IsolatedCaches
Represents a dictionary of IAppPolicyCache for types.
JsonCacheRefresherBase<TNotification, TJsonPayload>
A base class for "json" cache refreshers.
LanguageCacheRefresher
Cache refresher for language caches.
LanguageCacheRefresher.JsonPayload
Represents the JSON payload for language cache refresh operations.
LanguageDeletedDistributedCacheNotificationHandler
LanguageSavedDistributedCacheNotificationHandler
MediaCacheRefresher
Cache refresher for media caches.
MediaCacheRefresher.JsonPayload
Represents the JSON payload for media cache refresh operations.
MediaTreeChangeDistributedCacheNotificationHandler
MediaTypeChangedDistributedCacheNotificationHandler
MemberCacheRefresher
Cache refresher for member caches.
MemberCacheRefresher.JsonPayload
Represents the JSON payload for member cache refresh operations.
MemberDeletedDistributedCacheNotificationHandler
MemberGroupCacheRefresher
Cache refresher for member group caches.
MemberGroupCacheRefresher.JsonPayload
Represents the JSON payload for member group cache refresh operations.
MemberGroupDeletedDistributedCacheNotificationHandler
MemberGroupSavedDistributedCacheNotificationHandler
MemberRepositoryUsernameCachePolicy
MemberSavedDistributedCacheNotificationHandler
MemberTypeChangedDistributedCacheNotificationHandler
NoAppCache
Implements IAppPolicyCache and do not cache.
NoCacheRepositoryCachePolicy<TEntity, TId>
Implements IRepositoryCachePolicy<TEntity, TId> with no caching behavior.
ObjectCacheAppCache
Implements IAppPolicyCache on top of a Umbraco.Cms.Core.Cache.ObjectCacheAppCache.MemoryCache.
PayloadCacheRefresherBase<TNotification, TPayload>
A base class for "payload" class refreshers.
PublicAccessCacheRefresher
Cache refresher for public access entry caches.
PublicAccessEntryDeletedDistributedCacheNotificationHandler
PublicAccessEntrySavedDistributedCacheNotificationHandler
RelationTypeCacheRefresher
Cache refresher for relation type caches.
RelationTypeDeletedDistributedCacheNotificationHandler
RelationTypeSavedDistributedCacheNotificationHandler
RepositoryCachePolicyBase<TEntity, TId>
A base class for repository cache policies.
RepositoryCachePolicyOptions
Specifies how a repository cache policy should cache entities.
SafeLazy
Provides methods for creating and working with lazy values that safely handle exceptions.
SafeLazy.ExceptionHolder
Holds an exception that occurred during lazy value evaluation.
SavedDistributedCacheNotificationHandlerBase<TEntity, TNotification>
SavedDistributedCacheNotificationHandlerBase<TEntity, TNotification, TNotificationObject>
SingleServerCacheVersionService
A simple cache version service that assumes the cache is always in sync.
TemplateCacheRefresher
Cache refresher for template caches.
TemplateDeletedDistributedCacheNotificationHandler
TemplateSavedDistributedCacheNotificationHandler
TreeChangeDistributedCacheNotificationHandlerBase<TEntity, TNotification>
TreeChangeDistributedCacheNotificationHandlerBase<TEntity, TNotification, TNotificationObject>
UserCacheRefresher
Cache refresher for user caches.
UserCacheRefresher.JsonPayload
Represents the JSON payload for user cache refresh operations.
UserDeletedDistributedCacheNotificationHandler
UserGroupCacheRefresher
Handles User group cache invalidation/refreshing
UserGroupDeletedDistributedCacheNotificationHandler
UserGroupWithUsersSavedDistributedCacheNotificationHandler
UserSavedDistributedCacheNotificationHandler
ValueEditorCache
Implements IValueEditorCache to cache IDataValueEditor instances.
ValueEditorCacheRefresher
Cache refresher for value editor caches.
Interfaces
IAppCache
Defines an application cache.
IAppPolicyCache
Defines an application cache that support cache policies.
ICacheRefresher
Defines a cache refresher used for distributed cache invalidation in load-balanced environments.
ICacheRefresherNotificationFactory
Factory for creating cache refresher notification instances
ICacheRefresher<T>
Defines a strongly typed cache refresher that can refresh cache using object instances.
ICacheSyncService
Provides cache synchronization capabilities for load-balanced Umbraco environments.
IDataTypeConfigurationCache
Represents a cache for IDataType configuration.
IDistributedCacheNotificationHandler
Marker interface for notification handlers that triggers a distributed cache refresher.
IDistributedCacheNotificationHandler<TNotification>
Defines a handler for a TNotification that triggers a distributed cache refresher.
IJsonCacheRefresher
A cache refresher that supports refreshing or removing cache based on a custom Json payload
IPayloadCacheRefresher<TPayload>
A cache refresher that supports refreshing cache based on a custom payload
IRepositoryCachePolicy<TEntity, TId>
Defines a repository cache policy for managing cached entities.
IRepositoryCacheVersionAccessor
Provides access to repository cache version information with request-level caching.
IRepositoryCacheVersionService
Provides methods to manage and validate cache versioning for repository entities, ensuring cache consistency with the underlying database.
IRequestCache
Defines a request-level cache that stores items for the duration of a single HTTP request.
IValueEditorCache
Provides caching for IDataValueEditor instances associated with data types.
Enums
LanguageCacheRefresher.JsonPayload.LanguageChangeType
Defines the types of changes that can occur to a language.