On 6/30/07, Pedro Melo <[EMAIL PROTECTED]> wrote:
On Jun 27, 2007, at 7:31 AM, Sergei Golovan wrote:
> On 6/27/07, Joe Hildebrand <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
- Home page: http://norman.rasmussen.co.za/