A.L.E.C wrote:
Thomas Bruederli wrote:
The 'getunread' command also reads the counts from cache. I don't understand why this should cause so much traffic. OK, it's an extra request causing an extra IMAP-Login.
With disabled cache or not it causes extra imap login, database connection and http request. If you agree with my opinion about iframe in message.html I'll try to make a patch.
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.
~Thomas _______________________________________________ List info: http://lists.roundcube.net/dev/