SiteCacheSettings.EnableCache property

Determines whether the output cache should be enabled.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public ReadOnly Property EnableCache As Boolean
    Get
'Usage
Dim instance As SiteCacheSettings
Dim value As Boolean

value = instance.EnableCache
public bool EnableCache { get; }

Property value

Type: System.Boolean

Remarks

This is the control used to turn the output cache on or off.

See also

Reference

SiteCacheSettings class

SiteCacheSettings members

Microsoft.SharePoint.Publishing namespace

SiteCacheSettings