@pirijan Have you considered IndexedDB for storing data locally instead of localStorage
IMO RoamResearch is using it for storing large data with high performance.
I faced some lag with 500 cards in a Kinopio space.
@pirijan Have you considered IndexedDB for storing data locally instead of localStorage
IMO RoamResearch is using it for storing large data with high performance.
I faced some lag with 500 cards in a Kinopio space.
I’ll look into that
Edit: looks like safari 14 support isn’t quite there yet https://caniuse.com/?search=indexdb
Yeah, I do as well. But I wonder whether if localStorage performance is what slows spaces with lots of cards down. have you measured that, @pirijan?
My understanding of IndexedDB is that it’s a mechanism for storing app data more persistently. You can use it with web workers, so you can do things async. But on the topic of IndexedDB and performance, I just saw this project by James Long, born out of his frustration with IndexedDB, esp its performance: A future for SQL on the web
I haven’t measured anything , that would be a pre-requisite before doing more. That said there are bigger bottlenecks to look into
My money’s on the DOM
Now I’m going to stand with you