A.L.E.C wrote:
That solves keep_alive problem requested by me, but getunread issue is still not solved. Unseen counters are still readed on each message display and that's the performance issue what I'm talking about. But now I see the solution. Messageframe div in message.html should be an iframe. Then we can call getunread on first message display, but when moving to next/prev message (with firstmessage/previousmessage/nextmessage/lastmessage buttons) will be loaded only a message to the iframe. Folders list will be not touched and will waiting for check-recent event changes.
Now you understand why all other webmail suites use frames...
However it looks to me like you disabled caching because otherwise the message counts are read from the local database (all in one record) and this should definitely not be a performance issue.
~Thomas _______________________________________________ List info: http://lists.roundcube.net/dev/