when you ask NDK to subscribe to a bunch of similar-ish things, it will, by default, aggregate your queries and only send the relevant query to the relevant relays

this way I can have an component that tries to fetch the profile picture and it doesn't need to care what other components in the same page are requesting

here I'm rendering 14 components but only two have different pubkeys.

Reply to this note

Please Login to reply.

Discussion

Cool, this is hard, and its also what im doing in Snort (not merging yet, but incremental filters)

Wen Snort+NDK?

🤝🤝🤝🤝

would be so cool! it'll get gossip-style behavior for free 😉

Unfortunately i already built that too haha, its just disabled right now