On Fri, 21 Feb 2003, DINH Vi�t Ho� wrote:
>> > I can think of on-demand loading while scrolling, but what else? Even
>> > that could be done after "UID FETCH 1:* UID" which shouldn't be too
>> > slow.
>> "UID FETCH 1:* UID" is a download of the entire UID map.
>> Good quality clients don't do this.
>you have - in all case - to do a "FETCH 1:*" to get the list of
>messages.
>And how do you cache the messages locally by other mean than using the
>message UID to refer the cached message ?

If your client can display 30 messages, then the client should take the
number of messages from the SELECT response, subtract 30, and do a

FETCH N:* ...

That means that no, a client must _not_ do a FETCH 1:* always.

Andy

-- 
Andreas Aardal Hanssen - Binc IMAP
http://www.bincimap.andreas.hanssen.name/

Reply via email to