Event JSON
{
"id": "07ab8fc0365564fb6d14d89962d3fa8798ebc9d8ca6c43fa12ac780bf06948b5",
"pubkey": "a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d",
"created_at": 1718031206,
"kind": 1,
"tags": [
[
"e",
"a943d98afd0ef69150b3553c267f5aa998ffbb06174c088085b9328d5bdd20f1",
"wss://nos.lol/",
"root"
],
[
"e",
"889213a78bb4a0be866ee717414fe26dfbca68b708156c0c362f41272442b030",
"wss://nos.lol/",
"reply"
],
[
"p",
"7579076d9aff0a4cfdefa7e2045f2486c7e5d8bc63bfc6b45397233e1bbfcb19",
"wss://relay.damus.io/",
"mention"
],
[
"p",
"1739d937dc8c0c7370aa27585938c119e25c41f6c441a5d34c6d38503e3136ef",
"",
"mention"
],
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52",
"",
"mention"
]
],
"content": "ndk supports the use of client or server-side caches. It currently stores every event it receives and begins flushing older(?) events when it reaches a configurable limit of 10,000.\nI think a cache adapter for a local relay would be nice. It could simply look for a local relay on localhost:4869 and use that if it exists; optionally fallbacking to the in-browser dexie adapter. \nWhat do you think nostr:npub1zuuajd7u3sx8xu92yav9jwxpr839cs0kc3q6t56vd5u9q033xmhsk6c2uc nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft?",
"sig": "04945854ae7eb27904f07274dbc03b22bd39f842e8c1cf5130e898208a2beddb63749112673a767397771deb0da505095360cb63f80c093f35798aa2ab52b48b"
}