HelloZeroNet / HelloZeroNet/ZeroNet

IndexedDB support (or LocalStorage with IndexedDB backend)

Aperta
#1,732 5 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
18.8k
Fork
2.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Some sites, like Riot.im, use IndexedDB as while LocalStorage provides similar functionality, the 5MB limit on LocalStorage is too little for some sites to operate.

A while back Riot.im switched to using IndexedDB and things have generally been good. However, this means that even though Riot.im is a static website and could easily be ported to ZeroNet, a lot of refactoring would have to take place as ZeroFrame doesn't provide any API to interface with IndexedDB. So, perhaps you could add a call for it?

Alternatively, you could keep the current API but use IndexedDB as the backend. This way people could just use the familiar LocalStorage method, but wouldn't have to worry about hitting the 5MB limit.

Unless there's no limit on localhost?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.