monitoring cache statistics

Chris Bolt chrisbolt at
Tue Jun 2 05:29:42 MSD 2009

> is it possible to somehow monitor nginx proxy_cache efficiency? For example by having a variable that can be logged in the access log to see if the request has been cached,

I wrote the attached patch to get some cache hit stats included in the
status module.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx-cachestat.diff
Type: application/octet-stream
Size: 4179 bytes
Desc: not available
URL: <>

More information about the nginx mailing list