its not too terribly much. but i was making big filter requests repeatedly without realizing all that data was was not just staying serverside. i should have known that 🤷
Discussion
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.
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