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

4.3 storagePrefix is not backwards compatible #200

Closed sloops77 closed 9 years ago

sloops77 commented 9 years ago

The changes to extract the non-angular code updated the default storage prefix from angular-cache.caches to cachefactory-caches. This was doing my head in for quite a while.

On sidenote - woohoo issue #200!

jmdobry commented 9 years ago

Oops, hmm. I think the fix would be to have angular-cache itself change the default back to what it was, rather than modifying CacheFactory.

sloops77 commented 9 years ago

Yep that is the way to do it