Welcome! Log In Create A New Profile

Advanced

Re: request body and client_body_buffer_size

Maxim Dounin
September 26, 2013 08:38AM
Hello!

On Wed, Sep 25, 2013 at 08:41:44PM -0400, Jeroen Ooms wrote:

> One more question regarding this:
>
> > The
> > proxy_no_cache $request_body_file;
> > should do the trick, see http://nginx.org/r/proxy_no_cache.
>
> I tried this and get a warning:
> nginx: [warn] "proxy_no_cache" functionality has been changed in
> 0.8.46, now it should be used together with "proxy_cache_bypass"
>
> Do I just need to add an additional line:
> proxy_cache_bypass $request_body_file;
>
> It is not clear to me how proxy_cache_bypass is different from proxy_no_cache.

The "proxy_no_cache" directive prevents caching of a response got
from an upstream (i.e., do not save to a cache). In contrast, the
"proxy_cache_bypass" directive prevents returing a response from a
cache if it's there.

The warning in question is an artifact from 0.8.x time when
proxy_no_cache used to mean both "no cache" and "bypass". It
probably should be removed.

--
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

request body and client_body_buffer_size

Jeroen Ooms September 13, 2013 08:58PM

Re: request body and client_body_buffer_size

Maxim Dounin September 16, 2013 03:16AM

Re: request body and client_body_buffer_size

Maxim Dounin September 16, 2013 03:16AM

Re: request body and client_body_buffer_size

Jeroen Ooms September 16, 2013 03:16AM

Re: request body and client_body_buffer_size

Jeroen Ooms September 25, 2013 08:44PM

Re: request body and client_body_buffer_size

Maxim Dounin September 26, 2013 08:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 171
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready