Replying to Avatar Zach

Thanks for the feedback! nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft is there something I should be doing with ndk to make sure profiles are always up-to-date?

Not really; if you request kind:0 it’ll give you what the relays have.

Only caveat would be if you’re explicitly telling it to load exclusive from cache.

nostr:npub1p5ryszcvdca78jdp5ewhu67zpyfz042m7nrha6mqx7a8wakrqrkqre5ksj if you reload Flare it still shows you an old profile?

Reply to this note

Please Login to reply.

Discussion

I've got a feeling I'm only loaing from the cache then. I'm never explicitly querying for a kind0. Only ever using the getUser() method

but you're doing a fetchUserProfile I assume, right? tha gets a kind:0

Yes it loads out of date profile data even after a refresh.

I cleared the site cache in my browser and it loaded current profile data.