I store some keys in cache using angularJs cachefactory
myApp.factory('SomeCache', function ($cacheFactory) {
return $cacheFactory('someCache', {
capacity: 10 // optional - turns the cache into LRU cache
});
});
in the code :
SomeCache.put(key, value);
I see all the keys and values in the console. The problem is , when i redirect to another page, not in my webSite ( e.c www.ebay.com) and the i come back the cache object is empty, I needd to preserve the data on the page.
Any idea ? ishay