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

cacheFlushInterval doesn't clear web storage when storageMode is used. #52

Closed jmdobry closed 11 years ago

jmdobry commented 11 years ago

The contents of a cache are correctly reset when the interval comes around, but it doesn't sync that change with web storage if the storageMode option is used.