What is Nostr?
franzap
npub1wf4…dgh9
2024-10-16 23:12:53
in reply to nevent1q…0tl2

franzap on Nostr: Clarification: I'm sending a REQ with a `#d` set of app IDs to check for updates. But ...

Clarification: I'm sending a REQ with a `#d` set of app IDs to check for updates.

But I can't include one `since` for each app ID in one query, so I have two options:
- use the oldest `created_at` of the app ID set - but if one of the apps is quite old, I reap almost no caching benefit
- send one filter per app - this would work well, but I could have potentially 100s of apps to check which translates into 100s of backend requests for one check

If the relay sent a timestamp, I could use that as the `since` for the next request. The only drawback is it wouldn't catch any back-dated apps, but that is uncommon.
Author Public Key
npub1wf4pufsucer5va8g9p0rj5dnhvfeh6d8w0g6eayaep5dhps6rsgs43dgh9