$upstream_cache_status output definitions

Francis Daly francis at daoine.org
Wed Mar 14 16:34:03 UTC 2018

On Wed, Mar 14, 2018 at 04:07:22PM +0000, Friscia, Michael wrote:

Hi there,

> $upstream_cache_status
> keeps the status of accessing a response cache (0.8.3). The status can be either “MISS”, “BYPASS”, “EXPIRED”, “STALE”, “UPDATING”, “REVALIDATED”, or “HIT”.

It may not be as easily findable as it should be, but if you read


and search down to the FAQ, you'll find what you want.

(In general, the words are the status of the response from the perspective
of the cache, so "HIT" means the cached version was used.)

Francis Daly        francis at daoine.org

More information about the nginx mailing list