diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2010-07-19 09:36:04 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2010-07-19 09:36:04 +0000 |
| commit | f7d659aa525f162ef417ab7a01de5de8cb668cf0 (patch) | |
| tree | fd70a240ae272fcb512630df3bc9c5380a013aa2 /src/http/ngx_http_cache.h | |
| parent | 6a47b4323461cfa8da0d401276fc6c840764006e (diff) | |
| download | nginx-f7d659aa525f162ef417ab7a01de5de8cb668cf0.tar.gz nginx-f7d659aa525f162ef417ab7a01de5de8cb668cf0.tar.bz2 | |
proxy_cache_pass, fastcgi_cache_bypass, uwsgi_cache_bypass, scgi_cache_bypass
Diffstat (limited to 'src/http/ngx_http_cache.h')
| -rw-r--r-- | src/http/ngx_http_cache.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h index 20544d18d..36b14b26e 100644 --- a/src/http/ngx_http_cache.h +++ b/src/http/ngx_http_cache.h @@ -14,11 +14,12 @@ #define NGX_HTTP_CACHE_MISS 1 -#define NGX_HTTP_CACHE_EXPIRED 2 -#define NGX_HTTP_CACHE_STALE 3 -#define NGX_HTTP_CACHE_UPDATING 4 -#define NGX_HTTP_CACHE_HIT 5 -#define NGX_HTTP_CACHE_SCARCE 6 +#define NGX_HTTP_CACHE_BYPASS 2 +#define NGX_HTTP_CACHE_EXPIRED 3 +#define NGX_HTTP_CACHE_STALE 4 +#define NGX_HTTP_CACHE_UPDATING 5 +#define NGX_HTTP_CACHE_HIT 6 +#define NGX_HTTP_CACHE_SCARCE 7 #define NGX_HTTP_CACHE_KEY_LEN 16 @@ -122,6 +123,7 @@ struct ngx_http_file_cache_s { ngx_int_t ngx_http_file_cache_new(ngx_http_request_t *r); +ngx_int_t ngx_http_file_cache_create(ngx_http_request_t *r); void ngx_http_file_cache_create_key(ngx_http_request_t *r); ngx_int_t ngx_http_file_cache_open(ngx_http_request_t *r); void ngx_http_file_cache_set_header(ngx_http_request_t *r, u_char *buf); |
