Cache HIT’s not happening

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).

Thanks,
Quintin

Hello!

On Tue, Nov 01, 2011 at 09:14:29PM +0530, Quintin P. 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).

Nginx: Cache HIT’s not happening - Server Fault

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 Debugging | NGINX for more
details.

Maxim D.