Share via


SiteCacheSettingsWriter Members

Include Protected Members
Include Inherited Members

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

The SiteCacheSettingsWriter type exposes the following members.

Constructors

  Name Description
Public method SiteCacheSettingsWriter Create a SiteCacheSettingsWriter object for the specified site.

Top

Properties

  Name Description
Public property AllowLayoutPageOverrides Determines whether or not page layouts can override page cache profile settings.
Public property AllowPublishingWebPageOverrides Determines whether or not areas can override page cache profile settings.
Public property CbqFlushOnSiteChange Determines whether the cross-list query cache is invalidated when data in the site changes.
Public property CbqFlushOnTimeChange Determines whether the cross-list query cache is invalidated after a fixed amount of time.
Public property CbqMultiplier Determines 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.
Public property CbqTimeToLive Controls the number of seconds to keep the cross-list query result cached if the FlushOnTimeChange option is enabled.
Public property CreateCachePerRequest Determines whether or not a new cache should be created for each request. This property should only be used for testing purposes.
Public property EnableCache Sets the value for the EnableCache setting.
Public property EnableDebuggingOutput Sets the value for the EnableDebugOutput setting.
Public property IsImportInProgress Determines whether a content deployment import operation is currently in progress. (Inherited from SiteCacheSettings.)
Public property ObjectCacheSize Sets the value for the maximum amount of memory that can be allocated to the object cache (in megabytes).

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAnonymousPageCacheProfileId ID of the anonymous page output cache profile for this area. (Inherited from SiteCacheSettings.)
Public method GetAuthenticatedPageCacheProfileId ID of the authenticated page output cache profile for this area. (Inherited from SiteCacheSettings.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member RestoreCacheSettingsOnImport
Public methodStatic member SaveCacheSettingsBeforeImport
Public method SetAnonymousPageCacheProfileId
Public method SetAuthenticatedPageCacheProfileId
Public method SetFarmBlobCacheFlushFlag Causes all servers in the server farm to flush the binary large object (BLOB) cache for this site.
Public method SetFarmCacheFlushFlag Causes all servers in the server farm to flush the object cache for this site.
Public method SetIsImportInProgress Sets the value for the IsImportInProgress setting.
Public method SetLastImportStatusUpdateTicks Sets the LastImportStatusUpdateTicks value for an ImportInProgress operation.
Public method ToString (Inherited from Object.)
Public method Update Saves the changes to the root web.
Public methodStatic member UpdateCacheSettingsDuringImport Updates the siteCacheSetting to indicate that an import operation is or is not currently in progress.

Top

See Also

Reference

SiteCacheSettingsWriter Class

Microsoft.SharePoint.Publishing Namespace