Re: Cache HIT’s not happening

Maxim Dounin mdounin at mdounin.ru
Tue Nov 1 16:22:54 UTC 2011


Hello!

On Tue, Nov 01, 2011 at 09:14:29PM +0530, Quintin Par wrote:

> Hi all,
> 
> Can someone please answer this question on serverfault(Its difficult to
> retain code formatting and images in the group mail, hence the post in
> serverfault.com).
> 
> http://serverfault.com/questions/326545/nginx-cache-hits-not-happening

Answer from kolbyjack suggesting to add

    proxy_ignore_headers Set-Cookie; 

is likely correct as long as your backend actually sends 
Set-Cookie header.

If it doesn't fix your problem, please provide full config and 
debug log.  See here http://wiki.nginx.org/Debugging for more 
details.

Maxim Dounin



More information about the nginx mailing list