]> git.kaiwu.me - nginx.git/commit
HTTP/2: server push.
authorRuslan Ermilov <ru@nginx.com>
Thu, 8 Feb 2018 06:55:03 +0000 (09:55 +0300)
committerRuslan Ermilov <ru@nginx.com>
Thu, 8 Feb 2018 06:55:03 +0000 (09:55 +0300)
commit6e52265b42d8684beb5701f8ac4064b854a78bf5
treee5811241c45fba3042382c8bce3aa81192a8b37e
parentac3c8ff364f04d4d43f110d2ed22f6219d541985
HTTP/2: server push.

Resources to be pushed are configured with the "http2_push" directive.

Also, preload links from the Link response headers, as described in
https://www.w3.org/TR/preload/#server-push-http-2, can be pushed, if
enabled with the "http2_push_preload" directive.

Only relative URIs with absolute paths can be pushed.

The number of concurrent pushes is normally limited by a client, but
cannot exceed a hard limit set by the "http2_max_concurrent_pushes"
directive.
src/http/v2/ngx_http_v2.c
src/http/v2/ngx_http_v2.h
src/http/v2/ngx_http_v2_filter_module.c
src/http/v2/ngx_http_v2_module.c
src/http/v2/ngx_http_v2_module.h