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

Can use with Angular 2? any other recommendations? #222

Closed chauey closed 8 years ago

chauey commented 8 years ago

Hello there, I was curious what are some of the best solutions for caching in Angular 2? This and/or others? Thanks

naivefun commented 8 years ago

+1

Jacke commented 8 years ago

For now you can use https://github.com/jmdobry/CacheFactory core and inject in to your angular 2 app, this is good practice, we already do it for restangular replacement and other strictly dependent libs

jmdobry commented 8 years ago

I'll repeat what @Jacke said: Use CacheFactory with Angular 2.