Welcome! Log In Create A New Profile

Advanced

Re: Cache hit statistics?

Maxim Dounin
April 20, 2012 09:16AM
Hello!

On Thu, Apr 19, 2012 at 07:10:45PM +0000, Micheal Wolfskill wrote:

> Does nginx have a cache hit ratio statistic... Ive been
> searching .. or perhaps a way to differentiate in the logs wchi
> was served from cache and which was not. Thanks

The $upstream_cache_status variable is what you are looking for.
It's not yet described in docs, but here is a wiki entry:

http://wiki.nginx.org/HttpUpstreamModule#.24upstream_cache_status

Maxim Dounin

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

Cache hit statistics?

Micheal Wolfskill April 19, 2012 03:12PM

Re: Cache hit statistics?

Maxim Dounin April 20, 2012 09:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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