jmdobry / angular-cache

angular-cache is a very useful replacement for the Angular 1 $cacheFactory.
http://jmdobry.github.io/angular-cache
MIT License
1.39k stars 156 forks source link

AngularCache#info(key) #43

Closed jmdobry closed 11 years ago

jmdobry commented 11 years ago

AngularCache#info already exists. This feature is to augment AngularCache#info to accept one argument, the key for an item in the cache. If the item exists in the cache AngularCache#info will return information about the item: when it was added, whether it has expired, etc.