axios-extensions
axios-extensions copied to clipboard
Is it possible to save cache in localstorage?
Thank you for plugin! It works great but is it possible to save cache to localstorage? so after refresh of page cache stays.
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