Feature request: Created(key)
Opened this issue · 0 comments
jordanrobot commented
Please consider adding a public property that returns the creation date of a cached item by key. This would simplify use cases where caches are managed relative to external time-based objects.
E.g. consider a network file enumeration that is cached for performance purposes. Using this new property you could trigger a rescan and cache when the folder modified date is newer than the cache's created date.
if (created < folderModifiedDate)
{
//FileEnumeration of network location
//Update cache
}