[Standards] XEP-0115 redux
Joe Hildebrand
hildjj at gmail.com
Tue Jan 15 09:09:47 CST 2008
On Jan 15, 2008, at 1:50 AM, Lauri Kaila wrote:
> This may be a silly question, but why the complexity of 0115 couldn't
> be handled more on the server side? Couldn't the server do a disco and
> add the hash to the user's presence? Wouldn't the hash debate be
> irrelevant? Please don't read this as if I had an issue... I don't
> want to cause any delay. Just some "what if" talk.
That is an interesting optimization. I could imagine a server that
receives a presence without caps sending a disco#info to the client,
then adding in caps info to their presence magically. The server
would then have to listen for and respond to the disco#info requests
to that hash node, since the client is unlikely to do the right thing
with that query.
You would still need the hashes, since one server would not be able to
trust another server not to be polluting the hash cache.
--
Joe Hildebrand
More information about the Standards
mailing list