Condividi tramite


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 Creates a SiteCacheSettingsWriter object for the specified site.

Top

Properties

  Name Description
Public property AllowLayoutPageOverrides Gets or sets a value that indicates whether or not page layouts can override page cache profile settings.
Public property AllowPublishingWebPageOverrides Gets or sets a value that indicates whether or not areas can override page cache profile settings.
Public property CbqFlushOnSiteChange Gets or sets a value that indicates whether the cross-list query cache is invalidated when data in the site changes.
Public property CbqFlushOnTimeChange Gets or sets a value that indicates whether the cross-list query cache is invalidated after a fixed amount of time.
Public property 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.
Public property 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.
Public property 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.
Public property EnableCache Gets or sets a value that indicates whether or not to enble the cache.
Public property EnableDebuggingOutput Gets or sets a value that indicates whether to enable debugging output.
Public property IsImportInProgress Determines whether a content deployment import operation is currently in progress. (Inherited from SiteCacheSettings.)
Public property ObjectCacheSize Gets or sets a value that indicates 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 Identifier (ID) of the anonymous page output cache profile for this area. (Inherited from SiteCacheSettings.)
Public method GetAuthenticatedPageCacheProfileId Identifier (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 Restores the previously saved caching related properties prior to doing the import operation.
Public methodStatic member SaveCacheSettingsBeforeImport Save the caching related properties to be restored prior to doing the import operation.
Public method SetAnonymousPageCacheProfileId Set the anonymous cache profile id for the page output cache.
Public method SetAuthenticatedPageCacheProfileId Sets the anonymous cache profile id for the page output cache.
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