[Dovecot] Does dovecot proxy support message caching?
For example, say the connection between the user and the dovecot proxy is fast/cheap, but the connection from the proxy to the dovecot imap backend server is costly. is there a way to set up the proxy to cache messages to allow faster loading? if so, does it have different levels of caching (full message, headers only, etc)?
I'm using dovecot 2.0.9 for both the proxy and the imap backend.
if not, is there something that can work with dovecot to allow this?
Thanks!
On 2.3.2011, at 19.30, Edward Carraro wrote:
is there a way to set up the proxy to cache messages to allow faster loading? if so, does it have different levels of caching (full message, headers only, etc)?
I'm using dovecot 2.0.9 for both the proxy and the imap backend.
v2.0's proxy is dummy and can't do anything. v2.1 has imapc backend that you can make act as kind of a proxy. It will soon support local index files (= some cached headers, etc), and maybe in future full message body caching.
Ah cool, the Smart IMAP proxying :)
How goes the development on it? I was just told by my boss that it's a feature he thinks would be useful and he'd offer his developers to help.
On Wed, Mar 2, 2011 at 12:36 PM, Timo Sirainen <tss@iki.fi> wrote:
On 2.3.2011, at 19.30, Edward Carraro wrote:
is there a way to set up the proxy to cache messages to allow faster loading? if so, does it have different levels of caching (full message, headers only, etc)?
I'm using dovecot 2.0.9 for both the proxy and the imap backend.
v2.0's proxy is dummy and can't do anything. v2.1 has imapc backend that you can make act as kind of a proxy. It will soon support local index files (= some cached headers, etc), and maybe in future full message body caching.
On 2.3.2011, at 19.58, Edward Carraro wrote:
Ah cool, the Smart IMAP proxying :)
How goes the development on it?
It's going pretty well. I think the only big things missing are the ones I mentioned in my mail: index files and message body caching. The index files won't be too difficult to add, I might even do it this week.
I was just told by my boss that it's a feature he thinks would be useful and he'd offer his developers to help.
Well, there's the message body caching that I'm not that interested in writing myself. It can probably be pretty easily separated from the rest of the code, so not much Dovecot knowledge is required either.
Other than that, I guess testing and such would always be helpful. It should already work with all clients, just with no local caching.
On 02/03/2011 18:10, Timo Sirainen wrote:
I was just told by my boss that it's a feature he thinks would be useful and he'd offer his developers to help.
Well, there's the message body caching that I'm not that interested in writing myself. It can probably be pretty easily separated from the rest of the code, so not much Dovecot knowledge is required either.
I remain interested to sponsor such a feature though? Just make it affordable...
Thanks
Ed W
participants (3)
-
Ed W
-
Edward Carraro
-
Timo Sirainen