Jesse Norell wrote:
It occurred to me today
that if we were MIME parsing at delivery time, we could also store the mime
structure of a message in the database. An IMAP BODY.PEEK for mime
structures
would be nearly instantaneous. This is probably the single most common
request
from an email client, especially web-based ones that need to refresh their
message list on almost every page hit.
This can be very interesting to do. Of course, we still need to store
the message in its original format, but to store some information on
mime-parts would be very benificial for performance.
This would/could be another application for making a more generic
per-message data cache, rather than solely for message headers.
How about some serialization of meta-data like python's shelve or php's
type-serializer and introduce a cache-field to store results from
introspective queries.
--
________________________________________________________________
Paul Stevens mailto:[EMAIL PROTECTED]
NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED]
The Netherlands________________________________http://www.nfg.nl