Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearing localStorage causes angular-cache to become out of sync #39

Closed
jmdobry opened this issue Sep 3, 2013 · 1 comment
Closed
Assignees
Milestone

Comments

@jmdobry
Copy link
Owner

jmdobry commented Sep 3, 2013

See #36

Angular-cache needs to somehow be able to detect when another party has modified angular-cache's items that are saved in localStorage and either fix the problem or modify its own internal state to reflect the changes.

@jmdobry
Copy link
Owner Author

jmdobry commented Sep 21, 2013

The most angular-cache can do is continually sync its own internal state to localStorage, including during reads. That way, even if localStorage somehow gets wiped out with angular-cache is still running in the browser, angular-cache will eventually become consistent with localStorage.

@jmdobry jmdobry mentioned this issue Sep 21, 2013
5 tasks
jmdobry added a commit that referenced this issue Sep 21, 2013
Fixed #44.
Fixed #49.
Fixed #50.
Closed #43.
@jmdobry jmdobry closed this as completed Sep 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant