diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-06-18 13:34:47 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-06-18 13:34:47 +0000 |
commit | bd9eda998644fad6b01f545edb3f72a03dc7fb3a (patch) | |
tree | 392a8586ae0f0e7c3a7b137b71dab41983b53fd7 /src/http/ngx_http_file_cache.c | |
parent | a5fe5881c6d38983e868cc7918008529fb6ab710 (diff) | |
download | nginx-bd9eda998644fad6b01f545edb3f72a03dc7fb3a.tar.gz nginx-bd9eda998644fad6b01f545edb3f72a03dc7fb3a.zip |
$upstream_cache_status
Diffstat (limited to 'src/http/ngx_http_file_cache.c')
-rw-r--r-- | src/http/ngx_http_file_cache.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 323358742..8e908a1dc 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -35,6 +35,15 @@ static ngx_int_t ngx_http_file_cache_delete_file(ngx_tree_ctx_t *ctx, ngx_str_t *path); +ngx_str_t ngx_http_cache_status[] = { + ngx_string("MISS"), + ngx_string("EXPIRED"), + ngx_string("STALE"), + ngx_string("UPDATING"), + ngx_string("HIT") +}; + + static u_char ngx_http_file_cache_key[] = { LF, 'K', 'E', 'Y', ':', ' ' }; |