[Rabbit-dev] rabbit.proxy.Connection cache question
Robert Olofsson
robert.olofsson at khelekore.org
Sun Oct 25 09:51:59 CET 2009
On Sat, 24 Oct 2009 23:30:58 +0100
Mindaugas Žakšauskas <mindas at gmail.com> wrote:
> Can anybody explain me the difference between
>
> rabbit.proxy.Connection.setMayCache(boolean)
> and
> rabbit.proxy.Connection.setMayUseCache(boolean)
mayCache is a flag that specifies if we may cache the response that
we read from the upstream server.
mayUseCache is a flag that specifies if we may serve the response
from the rabbit cache, if we do we do not ask any upstream server.
Is that clear?
/robo
More information about the Rabbit-dev
mailing list