SiteCacheSettingsWriter SiteCacheSettingsWriter SiteCacheSettingsWriter Class

Definition

Allows the user to update the site-wide cache settings.

public ref class SiteCacheSettingsWriter sealed : Microsoft::SharePoint::Publishing::SiteCacheSettings
public sealed class SiteCacheSettingsWriter : Microsoft.SharePoint.Publishing.SiteCacheSettings
Public NotInheritable Class SiteCacheSettingsWriter
Inherits SiteCacheSettings
Inheritance
SiteCacheSettingsWriterSiteCacheSettingsWriterSiteCacheSettingsWriter

Constructors

SiteCacheSettingsWriter(SPSite) SiteCacheSettingsWriter(SPSite) SiteCacheSettingsWriter(SPSite)

Creates a SiteCacheSettingsWriter object for the specified site.

Properties

AllowLayoutPageOverrides AllowLayoutPageOverrides AllowLayoutPageOverrides

Gets or sets a value that indicates whether or not page layouts can override page cache profile settings.

AllowPublishingWebPageOverrides AllowPublishingWebPageOverrides AllowPublishingWebPageOverrides

Gets or sets a value that indicates whether or not areas can override page cache profile settings.

CbqFlushOnSiteChange CbqFlushOnSiteChange CbqFlushOnSiteChange

Gets or sets a value that indicates whether the cross-list query cache is invalidated when data in the site changes.

CbqFlushOnTimeChange CbqFlushOnTimeChange CbqFlushOnTimeChange

Gets or sets a value that indicates whether the cross-list query cache is invalidated after a fixed amount of time.

CbqMultiplier CbqMultiplier CbqMultiplier

Gets or sets a value that indicates the multiplication factor that should be applied to the result sets for a cross-list query. This allows for security trimming and other options to take place while still returning a full result set.

CbqTimeToLive CbqTimeToLive CbqTimeToLive

Gets or sets an integer that indicates the number of seconds to keep the cross-list query result cached if the FlushOnTimeChange option is enabled.

CreateCachePerRequest CreateCachePerRequest CreateCachePerRequest

Gets or sets a value that indicates whether or not a new cache should be created for each request. This property should only be used for testing purposes.

EnableCache EnableCache EnableCache

Gets or sets a value that indicates whether or not to enble the cache.

EnableDebuggingOutput EnableDebuggingOutput EnableDebuggingOutput

Gets or sets a value that indicates whether to enable debugging output.

IsImportInProgress IsImportInProgress IsImportInProgress

Determines whether a content deployment import operation is currently in progress.

(Inherited from SiteCacheSettings)
ObjectCacheSize ObjectCacheSize ObjectCacheSize

Gets or sets a value that indicates the maximum amount of memory that can be allocated to the object cache (in megabytes).

Methods

GetAnonymousPageCacheProfileId(SPSite) GetAnonymousPageCacheProfileId(SPSite) GetAnonymousPageCacheProfileId(SPSite)

Identifier (ID) of the anonymous page output cache profile for this area.

(Inherited from SiteCacheSettings)
GetAuthenticatedPageCacheProfileId(SPSite) GetAuthenticatedPageCacheProfileId(SPSite) GetAuthenticatedPageCacheProfileId(SPSite)

Identifier (ID) of the authenticated page output cache profile for this area.

(Inherited from SiteCacheSettings)
RestoreCacheSettingsOnImport(String, SavedCacheSettings) RestoreCacheSettingsOnImport(String, SavedCacheSettings) RestoreCacheSettingsOnImport(String, SavedCacheSettings)

Restores the previously saved caching related properties prior to doing the import operation.

SaveCacheSettingsBeforeImport(String) SaveCacheSettingsBeforeImport(String) SaveCacheSettingsBeforeImport(String)

Save the caching related properties to be restored prior to doing the import operation.

SetAnonymousPageCacheProfileId(SPSite, Int32) SetAnonymousPageCacheProfileId(SPSite, Int32) SetAnonymousPageCacheProfileId(SPSite, Int32)

Set the anonymous cache profile id for the page output cache.

SetAuthenticatedPageCacheProfileId(SPSite, Int32) SetAuthenticatedPageCacheProfileId(SPSite, Int32) SetAuthenticatedPageCacheProfileId(SPSite, Int32)

Sets the anonymous cache profile id for the page output cache.

SetFarmBlobCacheFlushFlag() SetFarmBlobCacheFlushFlag() SetFarmBlobCacheFlushFlag()

Causes all servers in the server farm to flush the binary large object (BLOB) cache for this site.

SetFarmCacheFlushFlag() SetFarmCacheFlushFlag() SetFarmCacheFlushFlag()

Causes all servers in the server farm to flush the object cache for this site.

SetIsImportInProgress(Boolean) SetIsImportInProgress(Boolean) SetIsImportInProgress(Boolean)

Sets the value for the IsImportInProgress setting.

SetLastImportStatusUpdateTicks(Int64) SetLastImportStatusUpdateTicks(Int64) SetLastImportStatusUpdateTicks(Int64)

Sets the LastImportStatusUpdateTicks value for an ImportInProgress operation.

Update() Update() Update()

Saves the changes to the root web.

UpdateCacheSettingsDuringImport(String, Boolean) UpdateCacheSettingsDuringImport(String, Boolean) UpdateCacheSettingsDuringImport(String, Boolean)

Updates the siteCacheSetting to indicate that an import operation is or is not currently in progress.

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to