Mercurial > hg > nginx-quic
comparison src/http/ngx_http_cache.h @ 5960:e9effef98874
Upstream: use_temp_path parameter of proxy_cache_path and friends.
When set to "off", temporary files for cacheable responses will be stored
inside cache directory.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Fri, 26 Dec 2014 16:22:59 +0300 |
parents | f7584d7c0ccb |
children | 99639bfdfa2a |
comparison
equal
deleted
inserted
replaced
5959:f7584d7c0ccb | 5960:e9effef98874 |
---|---|
153 ngx_msec_t last; | 153 ngx_msec_t last; |
154 ngx_msec_t loader_sleep; | 154 ngx_msec_t loader_sleep; |
155 ngx_msec_t loader_threshold; | 155 ngx_msec_t loader_threshold; |
156 | 156 |
157 ngx_shm_zone_t *shm_zone; | 157 ngx_shm_zone_t *shm_zone; |
158 | |
159 ngx_uint_t use_temp_path; | |
160 /* unsigned use_temp_path:1 */ | |
158 }; | 161 }; |
159 | 162 |
160 | 163 |
161 ngx_int_t ngx_http_file_cache_new(ngx_http_request_t *r); | 164 ngx_int_t ngx_http_file_cache_new(ngx_http_request_t *r); |
162 ngx_int_t ngx_http_file_cache_create(ngx_http_request_t *r); | 165 ngx_int_t ngx_http_file_cache_create(ngx_http_request_t *r); |