Re: Proxy Cache-Setting

2014-12-08 Thread MasterTH
hi, thanks a lot!!! it seems to work, we'll have to test. I'll report back kind regards MasterTH Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255357,255379#msg-255379 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailm

Re: Proxy Cache-Setting

2014-12-06 Thread Francis Daly
On Sat, Dec 06, 2014 at 06:49:44PM -0500, MasterTH wrote: Hi there, > What we'd like to cache is something like: > http://api.domain.tld/calculate/%CUSTOMER_ID%/ (and everything what comes > behind that url) > > And this calls we doesn't like to cache: > http://api.domain.tld/calculate/?calc=23+

Re: Proxy Cache-Setting

2014-12-06 Thread Robert Paprocki
Hi, You probably want to look into the proxy_cache_bypass and proxy_no_cache directives: http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_bypass http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_no_cache On 12/06/2014 03:49 PM, MasterTH wrote: > Hi, > > i got a

Proxy Cache-Setting

2014-12-06 Thread MasterTH
Hi, i got a special proxy cache configuration to do and i really don't know how to solve it. the situation is the following. We use an upstream proxy to be high availible with our project. The project is a api which uses get und post-data to calculate something. the caching is working nice and s