igniterealtime / pade

Pàdé (Yoruba word for Meet) is a browser extension (Chrome/Edge) based unified communications desktop client for Openfire.
https://igniterealtime.github.io/pade/
Apache License 2.0
104 stars 46 forks source link

Added support for using chrome.storage.local and chrome.storage.sync in Converse #240

Closed deleolajide closed 3 years ago

deleolajide commented 3 years ago

Converse uses the localForage for offline localstorage which offers drivers for localStorage, IndexedDB and WebSQL. Converse only offers localStorage, IndexedDB as configurable drivers for offline storage.

The localStorage driver is the fastest, but has a hard limit of 4MB. IndexedDB overcomes this limit, but is much slower. WebSQL is not supported on all browser platforms and may soon be deprecated.

Browser extensions have access to chrome.storage which offers local and sync drivers that offer more features. chrome.storage.local can perform as fast as localStorage and configured with no memory limits, while chrome.storage.sync has more limitations and restrictions, but offers storage that is synchronized across multiple platforms.

use the localforage browser extension storage driver to provide additional Converse storage drivers for Pade.

deleolajide commented 3 years ago

Done. Now available in version 1.6.11

image