CacheSettings Properties |
The CacheSettings type exposes the following members.
Name | Description | |
---|---|---|
AllowProgressiveCaching |
If true, progressive caching is enabled, meaning that two threads accessing the same code share the result of an internal operation
| |
BoolCondition |
Cache condition.
| |
Cached |
If true, the data is used from the cache if available / cached
| |
CacheDependency |
Cache dependency to use for the cache item. When GetCacheDependency is set and this property is not set explicitly, the value is retrieved by calling the delegate in GetCacheDependency property.
Use setter of this property only in the data loading code of the cached code block to avoid unnecessary initialization of the dependencies.
Use delegate property GetCacheDependency to provide cache dependencies in a more efficient way only when the system really needs them.
| |
CacheItemName |
Cache item name used for the caching.
| |
CacheItemNameParts |
Cache item name parts (form the cache item name if the custom item name is not available).
| |
CacheMinutes |
Cache minutes.
| |
CustomCacheItemName |
Custom cache item name (if set, used instead of the parts).
| |
GetCacheDependency |
Function to dynamically get the cache dependenc
|