A.L.E.C wrote:
> 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.

And what if people open a message to read, click back to list mode and 
select the next message? Then we doubled the requests to the server again.

We should rather investigate what really causes your performance problems. 
I cannot believe that reading those message counts does really use so much 
performance. At least it should not. Probably there's a major bug in 
RoundCube and we should try to find and fix it before we build some work 
around which will cause 10 new problems.

~Thomas
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to