Welcome! Log In Create A New Profile

Advanced

Re: nginx post response doesn't get cached

Maxim Dounin
January 04, 2013 07:34AM
Hello!

On Fri, Jan 04, 2013 at 01:53:39AM -0500, nurettin wrote:

> Hi Maxim Dounin!
>
> The proxy already caches small post responses. My cache key is request uri
> and body. I just don't know how to increase the buffer.

There are no buffers which influence request cacheability.
Responses are either cached or not regardless of their size.

I would recommend you to check if max_size= configured in
proxy_cache_path (if any) is big enough to store responses you
want to cache. If it is, you may want to produce debug log to
investigate what goes on, see here for details

http://nginx.org/en/docs/debugging_log.html

You may also want to upgrade to make sure you are not hitting some
old bug. The 0.8.x branch is way too old.


--
Maxim Dounin
http://nginx.com/support.html

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

nginx post response doesn't get cached

nurettin December 29, 2012 12:46PM

Re: nginx post response doesn't get cached

Maxim Dounin January 03, 2013 10:48PM

Re: nginx post response doesn't get cached

nurettin January 04, 2013 01:53AM

Re: nginx post response doesn't get cached

Maxim Dounin January 04, 2013 07:34AM

Re: nginx post response doesn't get cached

nurettin January 08, 2013 06:57AM

Re: nginx post response doesn't get cached

Maxim Dounin January 08, 2013 02:32PM

Re: nginx post response doesn't get cached

nurettin January 12, 2013 02:33AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 144
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