comparison src/http/ngx_http_upstream.h @ 6793:0fba3ed4e7eb

Cache: proxy_cache_max_range_offset and friends. It configures a threshold in bytes, above which client range requests are not cached. In such a case the client's Range header is passed directly to a proxied server.
author Dmitry Volyntsev <xeioex@nginx.com>
date Wed, 02 Nov 2016 20:05:21 +0300
parents 4dea01cf49e8
children 7113b9b2dd6c
comparison
equal deleted inserted replaced
6792:45d553812055 6793:0fba3ed4e7eb
196 196
197 ngx_uint_t cache_min_uses; 197 ngx_uint_t cache_min_uses;
198 ngx_uint_t cache_use_stale; 198 ngx_uint_t cache_use_stale;
199 ngx_uint_t cache_methods; 199 ngx_uint_t cache_methods;
200 200
201 off_t cache_max_range_offset;
202
201 ngx_flag_t cache_lock; 203 ngx_flag_t cache_lock;
202 ngx_msec_t cache_lock_timeout; 204 ngx_msec_t cache_lock_timeout;
203 ngx_msec_t cache_lock_age; 205 ngx_msec_t cache_lock_age;
204 206
205 ngx_flag_t cache_revalidate; 207 ngx_flag_t cache_revalidate;