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

Is it possible to save cache in localstorage? #78

Open
maxkopych opened this issue Aug 30, 2020 · 1 comment
Open

Is it possible to save cache in localstorage? #78

maxkopych opened this issue Aug 30, 2020 · 1 comment

Comments

@maxkopych
Copy link

Thank you for plugin! It works great but is it possible to save cache to localstorage? so after refresh of page cache stays.

@pwang2
Copy link

pwang2 commented Nov 5, 2020

FOR POC purpose only , I am able to get it work using localforage but it won't be a robust solution as the serialization lost the full compatibility of axios response object. if we only care about the data and status in response, it might worth a try.

https://gist.github.com/fe0de47fefba2f46d243d528b9382fc8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants