W dniu 2010-07-19 17:44, Ed W pisze:
The issue appears to be threading related - if I disable threading on the inbox then there is no delay on double clicking, only if I ask for the inbox to be threaded is there a delay opening an email
This seems to be confirmed by the log files from the mail server (Dovecot) which shows the imap requests on opening the message as follows:
thrd1 THREAD REFS US-ASCII ALL s SORT (ARRIVAL) US-ASCII ALL fuid FETCH 33027 (UID) fuid FETCH 32991 (UID) fuid FETCH 33006 (UID) fuid FETCH 6738 (UID)
We need this info to build page navigation (the arrows with links to first/previous/next/last message) and we need to call THREAD here, because we want to have the same messages order like in messages list. What IMAP server (and version) are you using? Which command (THREAD or SORT) takes longer? If SORT, you could try to change sorting to Date or None.
Possible solution would be to update navigation links in separate request after the page with a message is loaded.