incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boaz <bcit...@gmail.com>
Subject Re: Force caching CouchDb responses
Date Wed, 22 Jan 2014 17:29:10 GMT
Hi,

Running on Windows so cannot use Nginx. Using Squid.

Thanks,

Boaz

> On 22 בינו 2014, at 18:32, Jens Rantil <jens.rantil@gmail.com> wrote:
> 
> Hi,
> 
> Would you care to share with us which caching reverse proxy you are using?
> If you are using nginx you could probably use
> http://wiki.nginx.org/HttpProxyModule#proxy_cache.
> 
> That said, as long as your reverse proxy support "Etag"s you should be
> fine, since that's what CouchDB supports.
> 
> Cheers,
> Jens
> 
> 
>> On Wed, Jan 22, 2014 at 4:36 PM, Boaz Citrin <bcitrin@gmail.com> wrote:
>> 
>> Hello,
>> 
>> I am interested in direct communication from clients to CouchDb, but
>> putting a reverse proxy cache in front for acceleration.
>> 
>> The issue is that CouchDb always returns "Cache-Control:
>> must-revalidate" which results the proxy server not to store anything
>> in cache.
>> 
>> Any idea how to tweak this?
>> 
>> Thanks,
>> 
>> Boaz
>> 

Mime
View raw message