Skip to content

Feature request: Created(key) #114

@jordanrobot

Description

@jordanrobot

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
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions