Share via


CacheTimeout Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The CacheTimeout property specifies, in seconds, how long a dashboard factory keeps and reuses cached HTML before discarding it for new content. The default value of this property is 0, which indicates that the factory should not cache generated HTML. For example, setting this property to 60 and setting CacheBehavior to something other than the default causes a dashboard factory to cache the generated HTML for the Web Part for 60 seconds. After that, the dashboard factory regenerates the HTML for the Web Part and caches it again for another 60 seconds.

Note   A dashboard factory might ignore the cache settings for Web Parts that require isolation. Because the generated HTML is minimal (usually, an IFrame tag) and regenerates quickly, not caching the HTML reduces the overall load on the server.

**Note   **This property will not be supported in the DDRK 2.0 Dashboard Factory. This property might exist, but the factory will not use it. Future versions of the factory will use this property, so Web Part authors can define a value for it now in anticipation of support in a future version.

Property Value
Data Type Long
Default 0
IsContentIndexed FALSE
IsIndexed FALSE
IsMultiValued FALSE
IsReadOnly FALSE
IsRequired FALSE
IsVisible TRUE
Version 1
TextFormat N/A

See Also

Web Part Schema Properties | CacheBehavior Property