angular-cache is a very useful replacement for the Angular 1 $cacheFactory.
1.39k
stars
156
forks
source link
angular-cache caches all Resources if not specified the 'cache: false' option in resource configuration. #213
Closed
pangwa closed 8 years ago
angular doesn't cache resources for below statement: return $resource('user/:id, {id: '@id'}, { getById: { url: 'someurl', method: 'GET' },
But angular-cache caches the getById resource after I changed $http.defaults.cache to the cache using angular-cache.