Share via


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