Thomas Bruederli wrote:
Sorry but I don't agree with iframes. We already use iframes in preview pane and address book and they only cause problems because they are very hard to synchronize with the main page.
When loading the message with an iframe we again have an extra http-request which opens an IMAP connection and reads from the database. So finally we won nothing with this change.
With my proposed solution we could at least get rid of that extra http-request when taking the message counts from cache directly when the page is built.
Yes, but it delays message preview. So, better to call getunread once after entering to message preview than call it on each preview. That would be the same as in three boxes mode. There getunread is not called on each message.