Cache Properties

Data Cache ID

A text value that represents an ID used for the cache. "%WebPartID%" can also be included for the ID of the web part and "%UserID%" for the ID of the user creating the cache.

Data Cache Interval

The time that a cache will be stored, measured in minutes.  Caches stored to memory or session can only be stored for a maximum of 1 day, while caches of a file type can be stored for as long as necessary.

Document Library Name

The display name of the library where cache files will be stored. This library must be local and each user that can write a cache must have permission to write to it.

Enable Application Object Cache

Used to store the cache to the Application Pool.

Enable File Cache

Used to store the cache to a document library. Requires that the Document Library Name property (above) be filled in.

Enable Session Cache

Used to store the cache to a user session. This stored on a per user basis. To use this, session state storage must be enabled in the web.config file.

Example (Modification to Web.config file):

Current - <pages enableSessionState="false"

Setup - <pages enableSessionState="true"

If you want to store Session state to SQL, please go to http://msdn2.microsoft.com/en-us/library/h6bb9cz9.aspx

Enable Web Part Cache

Used to store the cache to the web part caching engine. To store this data to SQL, use the SharePoint Administration SDK to reset the Web Application.

Folder URL

(Introduced in v11.1) Used to identify the folder where the cache can be stored. This allows you to call caches that are stored in all different locations, rather than storing them all in one list.

Store as Dataset

(Introduced in v11.1) When this checkbox is selected, it tells the web part to collect the XML, HTML, etc. as simple data rather than an XML file, or HTML, or something else, in which case it could be invalidated. When this check box is not selected, whatever information the BDCA collects is simply output to the server in the same format in which it was collected.

Use Web Part Personal Storage

When enabled, if Web Part Cache is enabled, the cache will be stored per user.