angular-cache
angular-cache copied to clipboard
angular-cache is a very useful replacement for the Angular 1 $cacheFactory.
I am having an issue with angular-cache not working in production but working fine on localhost. I add some requests to a localstorage cache called "employeescache". The requests vary by...
Thank you for this library, it works great, I just have one issue, that is when i set the maxAge of an cached item, when I close the browser before...
Upgrade to latest cachefactory Main issue with angular is the difference in handling $http promises handling to access headers and other data before 1.6.x $http().success(data,headers).error(...).then(data) from 1.6.x $http().then({data,headers...}) Align introduces...
Using Angular 1.5.8 and angular-cache 4.6 In my service: ``` if (!CacheFactory.get('projectCache')) { CacheFactory.createCache('projectCache', { deleteOnExpire: 'aggressive', recycleFreq: 60000 }); } projectCache = CacheFactory.get('projectCache'); return { getProject: function(id, slug) {...
Hi, i am using http requests and custom cache objects to handle the caching. i have a list of customer. if i do a "put" action after i inserted a...
Hi, I was trying to use this module into my project but not sure it is working properly or not. Below is the code – ``` angular.module('TrackerApp').factory('TrackerFactory', function ($resource, CacheFactory)...
In my application I use $resource exclusively and have cache factories configured for each distinct resource. The issue I am running into is code very far removed from the resource...
Hi all, I'm trying to use angular-cache as default one for $recourse. At app.run ``` js $http.defaults.cache = CacheFactory('defaultCache', { maxAge: 15 * 60 * 1000, // Items added to...
babel-preset-es2015 has been replaced with babel-preset-env (should be the same) could you update your package?
Since Angular 1.6, unhandled promise rejections are sent to the exceptionHandler. In cases where you don't want a rejected promise to be treated as an exception, you must handle the...