jdev - 2026-05-03


  1. goffi

    Hey. We have XEP-0115 to cache client devices and our own server disco. But do we have a way to cache bare jids? For instance if we want disco from components on their own subdomains, or from JID sending notification (from PEP)? In most cases the server should have the same disco, but it theory it could be different.

  2. lovetox

    hashes are broadcasted via presence, or in stream:feature

  3. lovetox

    there exists no spec to my knowledge that puts a hash into a pep notification

  4. goffi

    Yes that's my point, we have no way to cache an entity without presence (or `stream:feature` but this only work for our own server). That let a lot of entities with no way to be cached.

  5. lovetox

    but for it to have a benefit you need to receive something from these entities where you can add the hash to

  6. lovetox

    what are you receiving from these components?

  7. lovetox

    my idea what could be beneficial is if i send a disco items to a server, and it sends me back a response with 10 items, meaning 10 other components the server hosts, then it could add the hash right there for each component, so i dont need to query every items

  8. lovetox

    my idea what could be beneficial is if i send a disco items to a server, and it sends me back a response with 10 items, meaning 10 other components the server hosts, then it could add the hash right there for each component, so i dont need to query every item

  9. lovetox

    or we give the server the chance to announce hashes for all components hosted on the server, in stream features