Class CacheItemPolicy
- Namespace
- Dynamicweb.Caching
- Assembly
- Dynamicweb.Core.dll
The Cache
- Inheritance
-
Cache
Item Policy
- Inherited Members
Fields
DefaultStoragePolicy
Value indicating the default storage policy for caching. This value is uses the same configuration as the removed StorageManager.
Field Value
InfiniteAbsoluteExpiration
Value indicating that the cache entry has not expiration date.
Field Value
NoSlidingExpiration
Value indicating the the cache entry has no sliding expiration.
Field Value
Properties
AbsoluteExpiration
Gets or sets a date time value indicating when the cache entry for this Cache
Property Value
CacheKeyDependencies
Gets or sets a list of cache keys to monitor. Changes in cache entries with these keys causes the cache entry for this Cache
Property Value
FileDependencies
Gets or sets a list of directory paths or file paths to monitor. Changes detected in these paths causes the cache entry for this Cache
Property Value
IncludeSubdirectories
Determines if the file dependecies should include subdirectories for the watch related to when the cache is invalidated.
Property Value
RemovedCallback
Gets or sets the removed callback.
Property Value
- Cache
Item .CachePolicy Item Removed Callback The removed callback.
SlidingExpiration
Gets or sets a time span indicating how long a cache entry takes to go stale. This value represents the time between hits.
Default value is No