Re: Fetching short text snippet for mails

Paul Smith <[email protected]>
Newsgroups gmane.ietf.imapext
Message-ID <[email protected]>
On 11/12/2014 13:41, Stuart Brandt wrote:
> Is snippet intended to be immutable? A server figuring out how to best 
> parse an HTML body part and offer up of the most meaningful snippet 
> for a user almost assuredly will result in versioning of the 
> extraction algorithm, thereby leading to the potential for a mutable 
> snippet element.

Does it matter?

> Additionally, a fixed sized snippet seems limiting given the trend of 
> using the 'stretch' gesture on mobile devices to expose an increasing 
> amount of snippet/message while viewing a message listing.

Surely the point of 'snippet' is to allow the client to get 100+ 
snippets in one FETCH command (like they can get subject, sender, date). 
That has to be quick. If it takes 0.1 seconds per message to 
generate/retrieve the snippet, that's too slow in this situation. Having 
a fixed size snippet will mean that the server can cache/precalculate 
it, making the responses potentially really quick.

Once the user starts interacting with a particular email, then the 
client will probably want to fetch the whole body content, as the user 
is interested in the message. If it takes 0.1 seconds here, it doesn't 
matter.



-


Paul Smith Computer Services
Tel: 01484 855800
Vat No: GB 685 6987 53

Sign up for news & updates at http://www.pscs.co.uk/go/subscribe

_______________________________________________
imapext mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/imapext
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.