Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPSite.Cache property

A thread-safe cache that may be used to store very small amounts of data associated with this SPSite.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public SPSiteCollectionPropertyCache Cache { get; }

The cache is stored in memory and will be emptied at the next process recycle. Cache entries may be removed during site deletion, but invalidation is not assured. A process recycle may be required to invalidate cached entries. Because the cache has no flush mechanism it is critical that only very small values are placed in the cache.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.