Welcome! Log In Create A New Profile

Advanced

Re: Is cache being used?

Ben Lancaster
July 27, 2011 12:54PM
On 27 Jul 2011, at 14:38, egrueda wrote:

> Thanks, Ben. I've added headers and now I can clearly see all of them:
> "X-Cache-Status: MISS" :-(
> Does it mean nginx cache is not properly configured or is it a matter of
> this specific backend?

It sounds to me like your application is sending back headers that instruct Nginx not to cache the response. Can you provide full HTTP headers that are coming back in the response?

> Why did you say "and never will be" with a "MISS" status?

Well, that's not strictly true I guess depending on how your caching is configured (I think this is affected by the proxy_cache_min_uses directive).
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Is cache being used?

egrueda July 26, 2011 11:54AM

Re: Is cache being used?

egrueda July 26, 2011 12:23PM

Re: Is cache being used?

Ben Lancaster July 26, 2011 12:28PM

Re: Is cache being used?

egrueda July 27, 2011 09:38AM

Re: Is cache being used?

Ben Lancaster July 27, 2011 12:54PM

Re: Is cache being used?

egrueda July 28, 2011 02:19AM

Re: Is cache being used?

Ben Lancaster July 28, 2011 03:36AM

Re: Is cache being used?

Igor Sysoev July 28, 2011 03:50AM

Re: Is cache being used?

egrueda July 28, 2011 04:09AM

Re: Is cache being used?

sureshvv October 21, 2011 04:55AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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