Michael Baierl wrote:
I don't think it's about persisting connections between requests, it's about saving requests - in the above case if a mail is opened for preview this same request should also mark it to be read (what the second request is for). This will save one request between client and server and one db connection attempt and one IMAP connection request on the server.
Exactly, I wasn't thinking about persistent connections, but about doing "related actions" in one request.