$upstream_cache_status

Resicow resicow at gmail.com
Wed Jun 10 19:35:43 MSD 2009


This is great; looking forward to seeing cache stats in the log.

I apologize I don't fully understand the updating parameter, and how to 
use or when to use it?

Does that mean if active then a stale request will be used, but then 
will be updated by nginx?

Thanks,

John




Igor Sysoev wrote:
> The patch to enable $upstream_cache_status. Possible values:
>
> MISS
> EXPIRED  expired, request was passed to backend
> UPDATING expired, stale response was used due to
>                   proxy/fastcgi_cache_use_stale updating
> STALE    expired, stale response was used due to
>                   proxy/fastcgi_cache_use_stale
> HIT
>
>
>   






More information about the nginx mailing list