O'Reilly logo

Programming Excel® Services by Alvin Bruney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SharePoint Web Part Caching

The basic concept of data caching is consistent across SharePoint and ASP.NET. However, SharePoint contains its own implementation of a cache that can be addressed programmatically using members of the cache enumeration type, which are listed in Table 7-2.

Table 7-2. Cache Enumeration Values

Member

Description

CacheObject

Stores cached property values using the ASP.NET Cache object.

Database

Stores cached property values in the SharePoint database.

None

No property values are cached.

These member values show that you can programmatically target either the ASP.NET cache infrastructure or the SharePoint database for caching values. There is no direct equivalent for such functionality in ASP.NET. The different state providers in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required