Sets the cache settings for a page when it is added to cache. Override method to set e.g. control lifetime of PageData object in cache or to add additional cache dependency keys.

Namespace:  EPiServer.Core
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
protected virtual void SetCacheSettings(
	PageData page,
	CacheSettings cacheSettings
)

Parameters

page
Type: EPiServer.Core..::.PageData
cacheSettings
Type: EPiServer.Core..::.CacheSettings
The cache settings.

See Also