angular-cache
angular-cache copied to clipboard
angular-cache is a very useful replacement for the Angular 1 $cacheFactory.
Hi, The following code is not working and the cache persists even after maxAge. Can you suggest me what might be missing. CacheFactory.createCache(cacheName, { storagePrefix: 'tmng.', deleteOnExpire: 'aggressive', maxAge: 2...
I have installed with bower on directory lib, but when I launch the command : cordova build ios I get the error ``` encrypt: /Users/benjaminfuentes/git/caceis_v2/platforms/android/assets/www/lib/angular-cache/rollup.config.js Error: EISDIR: illegal operation on...
Hey guys, Can anybody tell me exactly what's the difference between maxAge and cacheFlushInterval ?
Error when using with webpack with source-map-loader `imports?this=>window&module=>undefined&exports=>undefined&define=>undefined!angular-cache` ``` Module build failed: TypeError: Cannot read property 'substr' of undefined at Function. (...\node_modules\imports-loader\node_modules\source-map\lib\source-map\source-node.js:100:32) ```
I'm using angular-cache with $http and localStorage. I use a maxAge and "passive" setting for deleteOnExpire. The caching works fine, but after exceeding the maxAge time (expired), it continues to...
by inserting a momentjs object, the cache will serialize it and, upon retrieval, only the string representation can be get. **Expected behaviour:** the moment object is retrieved instead of its...
Fixes #236 and #237 Unfortunately the breaking changes in CacheFactory 2.0.0 will require that this library be bumped to 5.0.0 Note, several tests are still failing. Possibly because I upgraded...
Could you make a function to expire a cache right now in stead of waiting for the maxage? I'm asking this because I would like to have an option to...
Hi, I am attempting to implement angular-cache into an angular 1.4.3 app. We are attempting to use angular-cache version 4.6.0. but everytime we run the app build it produces the...
I have some data I want to cache, however it takes a relatively long time to generate this data. My understanding is that if I use angular-cache in either aggressive...