[jdev] XEP-0115: Entity Capabilities
Norman Rasmussen
norman at rasmussen.co.za
Sat Jun 30 09:26:09 CDT 2007
On 6/30/07, Pedro Melo <melo at co.sapo.pt> wrote:
>
> On Jun 27, 2007, at 7:31 AM, Sergei Golovan wrote:
> > On 6/27/07, Joe Hildebrand <hildjj at gmail.com> wrote:
> >> You can always just query each user independently if you like; you
> >
> > I think that the XEP must not recommend to cache capabilities based
> > only on reported software name and version. The more acceptable index
> > is a tuple {jid, client name, client version}.
>
> Or you can do what was suggested in the list (don't know if it is
> mentioned in the spec): cache the information about {client_name,
> client_version} => caps* only after you receive the exact same
> information from 5 or 6 different JIDs.
>
> The roster is assumed to be for people you trust.
The cache should probably only cache after the same info is received from 5
or 6 different domains.
- Transports can pollute the cache easily because they often have well in
excess of 20 contacts subscribed
- Corporate installations probably only have one or two domains, but they
probably won't suffer from the lack of caching either.
--
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20070630/59ded336/attachment-0002.htm>
More information about the JDev
mailing list