localforage
项目地址:https://github.com/localForage/localForage
也可以看看 张鑫旭 写的https://www.zhangxinxu.com/wordpress/2018/06/js-localforage-localstorage-indexdb/
https://www.cnblogs.com/shenjp/p/9470317.html
localforage主要作为一个本地离线持久化工具,当你对本地的一些 图片或者一些数据进行本地缓存,这样可以做到不需要每次刷新都要请求服务器。