Open Aradiv opened 5 years ago
@Aradiv localForage looks promising. Are there some other alternatives to choose from?
https://developers.google.com/web/fundamentals/instant-and-offline/web-storage/offline-for-pwa (or https://developers.google.com/web/ilt/pwa/working-with-indexeddb) recommends idb: https://github.com/jakearchibald/idb#readme (or https://github.com/jakearchibald/idb-keyval#readme)
And there are many similar:
And I like https://pouchdb.com/ 'cause it syncs. But again, there are alternatives, e.g. https://kintojs.readthedocs.io/en/latest
currently we are using localStorage extensivly.
But localStorage has multiple downsites that slow down iitc.
With localForage there is a lightweight and easy to use libary that allows to easily switch to indexdb/websql (if available and will fallback to localStorage if not)