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

3.0.0 Poll - comment here! #95

Closed jmdobry closed 10 years ago

jmdobry commented 10 years ago

3.0.0 is in progress. The main goals are reducing complexity and improving performance. Post feedback/requests here.

findesk commented 10 years ago

Hi Jason... I have 1 feature request (which is a nice to have but not essential), to be able to customise the cache key prefix when cache is stored in local storage.

Here: https://github.com/jmdobry/angular-cache/blob/2.3.1/src/angular-cache.js#L392

The default prefix is: 'angular-cache.caches.*'

I'd like to be able to customise the prefix globally: angular-cache.caches

Or at least make it much shorter like 'ac', i.e. replace 'angular-cache.caches' with 'ac'.

Thank you for your module, very nice. -fd

jmdobry commented 10 years ago

@findesk Will do. #98