IPageCacheBuilderTPageTypeKey Method |
Sets the cache base key to be used to cache the data.
Namespace: Kentico.Content.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
SyntaxIPageCacheBuilder<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