ah ok. yeah those can compound rapidly, especially if you run it on multiple relays...

I need a good way to browse the local db so you can easily get data without re-asking for it.

Reply to this note

Please Login to reply.

Discussion

use a Map() and store the events in memory, or localstorage. use that like a cache... if the event you're looking for is not there, then do the request

I already do have in-memory and indexedDB for all events that come through, but it's only used at the moment to get single missing events to build threads, can't really query it easily yet