Event JSON
{
"id": "dba44e0c12e38098d8dcba5535ac1b78ecd290dd5b8a13b10e605571b862f8df",
"pubkey": "20ed9331673df584362a43709dd29de705a1bb58f3cd2af8e8c0b5f82c54c099",
"created_at": 1722559857,
"kind": 1,
"tags": [
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"",
"mention"
],
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52",
"",
"mention"
],
[
"p",
"4523be58d395b1b196a9b8c82b038b6895cb02b683d0c253a955068dba1facd0",
"",
"mention"
],
[
"p",
"3f770d65d3a764a9c5cb503ae123e62ec7598ad035d836e2a810f3877a745b24",
"",
"mention"
]
],
"content": "NOSTR DEVS:\nPlease explain the best logic to implement a 'Caching Relay' and then serve other relays events.\n\nI'm assuming I fetch the users content from the caching relay first and then retrieve new events from the other relays. Do I set certain timeouts to start interval cycling through all the other relays one time per refresh? Am I scanning all the added relays in async? What method/process gives the best client user experience? I tried reading pages of search engine results and the nips but can't find a solid answer. \n\n nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft nostr:npub1g53mukxnjkcmr94fhryzkqutdz2ukq4ks0gvy5af25rgmwsl4ngq43drvk nostr:npub18ams6ewn5aj2n3wt2qawzglx9mr4nzksxhvrdc4gzrecw7n5tvjqctp424",
"sig": "43878a0f80efdcfa28d0640ad9febc2ef1650c50d59df6117592bfbf956af1058a3b95adb889689eddd650eb3ba439b37a2633f260a7a609066d7a4db1900f94"
}