Closed robshep closed 8 years ago
Are you destroying the cache anywhere?
Actually I was just grokking the source and looking at $$data thinking.... hmmm it only get nullified on destroy... just looking.
Found it. A logout event was .destroy()ing the cache. This leads me to believe it only occurs when a user logs out, then logs in without a page refresh (and app+service build). Changed to removeAll() to keep the cache alive. Please close this off - Sorry about that. My bad. Thx for the quick response, and for the module!.
Occasionally, I get the following error:
Any ideas?
versions:
angular-cache: 4.4.2 angular-core: 1.4.8
Here is my cache config in the service: