Mercurial > hg > nginx
comparison auto/modules @ 9121:262c01782566
HTTP/2: removed server push (ticket #2432).
Although it has better implementation status than HTTP/3 server push,
it remains of limited use, with adoption numbers seen as negligible.
Per IETF 102 materials, server push was used only in 0.04% of sessions.
It was considered to be "difficult to use effectively" in RFC 9113.
Its use is further limited by badly matching to fetch/cache/connection
models in browsers, see related discussions linked from [1].
Server push was disabled in Chrome 106 [2].
The http2_push, http2_push_preload, and http2_max_concurrent_pushes
directives are made obsolete. In particular, this essentially reverts
7201:641306096f5b and 7207:3d2b0b02bd3d.
[1] https://jakearchibald.com/2017/h2-push-tougher-than-i-thought/
[2] https://chromestatus.com/feature/6302414934114304
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 08 Jun 2023 16:56:46 +0400 |
parents | 113e2438dbd4 |
children |
comparison
equal
deleted
inserted
replaced
9120:0aaa09927703 | 9121:262c01782566 |
---|---|
421 | 421 |
422 ngx_module_type=HTTP | 422 ngx_module_type=HTTP |
423 | 423 |
424 if [ $HTTP_V2 = YES ]; then | 424 if [ $HTTP_V2 = YES ]; then |
425 have=NGX_HTTP_V2 . auto/have | 425 have=NGX_HTTP_V2 . auto/have |
426 have=NGX_HTTP_HEADERS . auto/have | |
427 | 426 |
428 ngx_module_name=ngx_http_v2_module | 427 ngx_module_name=ngx_http_v2_module |
429 ngx_module_incs=src/http/v2 | 428 ngx_module_incs=src/http/v2 |
430 ngx_module_deps="src/http/v2/ngx_http_v2.h \ | 429 ngx_module_deps="src/http/v2/ngx_http_v2.h \ |
431 src/http/v2/ngx_http_v2_module.h" | 430 src/http/v2/ngx_http_v2_module.h" |
442 if [ $HTTP_V3 = YES ]; then | 441 if [ $HTTP_V3 = YES ]; then |
443 USE_OPENSSL_QUIC=YES | 442 USE_OPENSSL_QUIC=YES |
444 HTTP_SSL=YES | 443 HTTP_SSL=YES |
445 | 444 |
446 have=NGX_HTTP_V3 . auto/have | 445 have=NGX_HTTP_V3 . auto/have |
447 have=NGX_HTTP_HEADERS . auto/have | |
448 | 446 |
449 ngx_module_name=ngx_http_v3_module | 447 ngx_module_name=ngx_http_v3_module |
450 ngx_module_incs=src/http/v3 | 448 ngx_module_incs=src/http/v3 |
451 ngx_module_deps="src/http/v3/ngx_http_v3.h \ | 449 ngx_module_deps="src/http/v3/ngx_http_v3.h \ |
452 src/http/v3/ngx_http_v3_encode.h \ | 450 src/http/v3/ngx_http_v3_encode.h \ |