Oddbean new post about | logout
 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? 
 We will expose it to apps running inside Spring, although I am not sure it can be done seamlessly and magically. External access is not a priority, but why not 
 I've been wanting to see a nostr client that tests this out! 
 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