-
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.
-
lovetox
hashes are broadcasted via presence, or in stream:feature
-
lovetox
there exists no spec to my knowledge that puts a hash into a pep notification
-
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.
-
lovetox
but for it to have a benefit you need to receive something from these entities where you can add the hash to
-
lovetox
what are you receiving from these components?
-
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✎ -
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 ✏
-
lovetox
or we give the server the chance to announce hashes for all components hosted on the server, in stream features