summaryrefslogtreecommitdiffhomepage
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h
index 193a35322..1a3117adb 100644
--- a/src/http/ngx_http_cache.h
+++ b/src/http/ngx_http_cache.h
@@ -25,6 +25,8 @@
#define NGX_HTTP_CACHE_KEY_LEN 16
+#define NGX_HTTP_CACHE_VERSION 1
+
typedef struct {
ngx_uint_t status;
@@ -97,6 +99,7 @@ struct ngx_http_cache_s {
typedef struct {
+ ngx_uint_t version;
time_t valid_sec;
time_t last_modified;
time_t date;