Click or drag to resize
IPageCacheBuilderTPageTypeKey Method
Sets the cache base key to be used to cache the data.

Namespace: Kentico.Content.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
IPageCacheBuilder<TPageType> Key(
	string baseKey
)

Parameters

baseKey
Type: SystemString
Base cache key.

Return Value

Type: IPageCacheBuilderTPageType
Remarks
Provided base key is automatically combined with current site name and culture code. If multiple base keys provided the value of the last one configured is used.
See Also