aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_cache.h')
-rw-r--r--src/http/ngx_http_cache.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h
index b18d53961..f84c61895 100644
--- a/src/http/ngx_http_cache.h
+++ b/src/http/ngx_http_cache.h
@@ -48,6 +48,7 @@ typedef struct {
time_t expire;
time_t valid_sec;
size_t body_start;
+ off_t length;
} ngx_http_file_cache_node_t;
@@ -100,10 +101,16 @@ struct ngx_http_file_cache_s {
ngx_path_t *path;
+ ngx_atomic_t *cold;
+ off_t *size;
+
+ off_t max_size;
+ size_t bsize;
+
time_t inactive;
- time_t created;
- time_t clean_time;
- time_t next_clean_time;
+
+ ngx_msec_t last;
+ ngx_uint_t files;
ngx_shm_zone_t *shm_zone;
};