diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2015-02-02 19:38:35 +0300 |
|---|---|---|
| committer | Roman Arutyunyan <arut@nginx.com> | 2015-02-02 19:38:35 +0300 |
| commit | f8fecbc94d204c4ce1a86556d2642af00146995e (patch) | |
| tree | a8e9046ec9b0f81790e58568523e5006ad9d65d8 /src/http/ngx_http_cache.h | |
| parent | 54e14a387fe0b18dc3e607effef26603a32cacf5 (diff) | |
| download | nginx-f8fecbc94d204c4ce1a86556d2642af00146995e.tar.gz nginx-f8fecbc94d204c4ce1a86556d2642af00146995e.tar.bz2 | |
Cache: added temp_path to file cache.
If use_temp_path is set to off, a subdirectory "temp" is created in the cache
directory. It's used instead of proxy_temp_path and friends for caching
upstream response.
Diffstat (limited to 'src/http/ngx_http_cache.h')
| -rw-r--r-- | src/http/ngx_http_cache.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h index 27322b0af..a7d41c6f1 100644 --- a/src/http/ngx_http_cache.h +++ b/src/http/ngx_http_cache.h @@ -142,6 +142,7 @@ struct ngx_http_file_cache_s { ngx_slab_pool_t *shpool; ngx_path_t *path; + ngx_path_t *temp_path; off_t max_size; size_t bsize; @@ -155,9 +156,6 @@ struct ngx_http_file_cache_s { ngx_msec_t loader_threshold; ngx_shm_zone_t *shm_zone; - - ngx_uint_t use_temp_path; - /* unsigned use_temp_path:1 */ }; |
