November Happy Hour will be moved to Thursday December 5th.

Interface IContentCacheRemover

Component used to evicit content instances from cache.

Namespace: EPiServer
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IContentCacheRemover

Methods

Clear()

Clear all contents from cache

Declaration
void Clear()

Remove(ContentReference)

Remove a content and all including language from cache.

Declaration
void Remove(ContentReference contentLink)
Parameters
Type Name Description
ContentReference contentLink

The content to remove from cache

Remove(IEnumerable<ContentReference>)

Remove a contents from cache.

Declaration
void Remove(IEnumerable<ContentReference> contentLinks)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ContentReference> contentLinks

The content to remove from cache

RemoveLanguage(ContentReference, String)

Remove a content on a specific language from cache

Declaration
void RemoveLanguage(ContentReference contentLink, string languageBranch)
Parameters
Type Name Description
ContentReference contentLink

The content to remove from cache

System.String languageBranch

The language branch of the page to remove

RemoveVersion(ContentReference)

Remove a specific content from cache.

Declaration
void RemoveVersion(ContentReference contentLink)
Parameters
Type Name Description
ContentReference contentLink

The content to remove from cache

Extension Methods