SharedWorker + Indexeddb = Local relay for web apps? My brain is telling me it would be way to slow and burn all the battery up. but then... maybe it wouldn't?
That's how it will work in Spring soon. Right now it's in the main thread, moving to a service worker now. We'll see how slow it is
Is the relay / cache going to be exclusive to Spring or could other apps talk to it?
Been thinking about this more and while having a local relay would make loading previous events faster (a cache) it wouldn't change anything when it comes to client needing to connect to relays. The client would still have to connect to and ask all the relays for just as much data as it dose now