nginx/auto
Roman Arutyunyan 8ba626ccd7 Slice filter.
Splits a request into subrequests, each providing a specific range of response.
The variable "$slice_range" must be used to set subrequest range and proper
cache key.  The directive "slice" sets slice size.

The following example splits requests into 1-megabyte cacheable subrequests.

server {
    listen 8000;

    location / {
        slice 1m;

        proxy_cache cache;
        proxy_cache_key $uri$is_args$args$slice_range;
        proxy_set_header Range $slice_range;
        proxy_cache_valid 200 206 1h;
        proxy_pass http://127.0.0.1:9000;
    }
}
2015-12-07 16:30:48 +03:00
..
cc Configure: added gcc5 to the list of known GCC versions. 2015-06-10 19:18:20 +03:00
lib Configure: improved workaround for system perl on OS X. 2015-11-30 12:04:29 +03:00
os Configure: GNU Hurd properly recognized. 2015-05-25 17:58:13 +03:00
types Configure: style fixes for autoconf.err. 2015-10-23 18:21:33 -07:00
configure Configure: create missing intermediates for build directory. 2015-06-10 19:18:19 -07:00
define Copyright updated. 2012-01-18 15:07:43 +00:00
endianness Configure: style fixes for autoconf.err. 2015-10-23 18:21:33 -07:00
feature Configure: fixed autotest cleanup commands. 2013-07-31 18:16:40 +04:00
have Copyright updated. 2012-01-18 15:07:43 +00:00
have_headers Copyright updated. 2012-01-18 15:07:43 +00:00
headers Copyright updated. 2012-01-18 15:07:43 +00:00
include Configure: fixed autotest cleanup commands. 2013-07-31 18:16:40 +04:00
init Copyright updated. 2012-01-18 15:07:43 +00:00
install Configure: moved NGX_SBIN_PATH variable initialization. 2015-06-10 12:25:31 +03:00
make The HTTP/2 implementation (RFC 7240, 7241). 2015-09-11 20:13:06 +03:00
modules Slice filter. 2015-12-07 16:30:48 +03:00
nohave Copyright updated. 2012-01-18 15:07:43 +00:00
options Slice filter. 2015-12-07 16:30:48 +03:00
sources Slice filter. 2015-12-07 16:30:48 +03:00
stubs Copyright updated. 2012-01-18 15:07:43 +00:00
summary Thread pools implementation. 2015-03-14 17:37:07 +03:00
threads Thread pools implementation. 2015-03-14 17:37:07 +03:00
unix Used the pwritev() syscall for writing files where possible. 2015-11-17 19:01:41 +03:00