HTTP/2 dev server
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- nuxt, typescript
- 領域
- cli, networking
調査の方向性
まず、参照されている unjs/listhen#206 の議論と、Nuxt CLI の development-server エントリーポイントを読みます。現在のサーバーが HTTP/1.1 リクエストをどのように処理しているかを確認し、HTTP/2 の直接サポートに必要な検証を、並列のアセットリクエストと開発モードでの動作を含めて定義します。
索引モデルが issue の本文から書いたものです。
説明
Describe the feature
In development mode, large chunks of JS code create a large number of parallel HTTP/1.1 requests.
And browsers like Chromium limit the max-connections-per-server to 6, which will quickly become overwhelming.
In my case, a single http request would wait nearly 6 sec before being sent, with a response within milliseconds.
I tested this idea by using Caddy (which can handle HTTP/2 requests) as a reverse proxy for the development server. It successfully reduces the wait time for individual requests to milliseconds (and all in parallel!).
I believe that if the Nuxt dev server could support HTTP/2 directly, we could achieve even better performance than my workaround. 😉
Additional information
- Would you be willing to help implement this feature?
- unjs/listhen#206
- Could this feature be implemented as a module?
Final checks
- Read the contribution guide.
- Check existing discussions and issues.
- 主要言語
- TypeScript
- スター
- 399
- フォーク
- 119
- 平均マージ
- 20時間 59分
- マージ済み PR(30日)
- 65
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nuxt/cli のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
Support pause HMR オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
discussion
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
enhancement good first issue
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
mksglu/context-mode#1200 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
anthropics/claude-code#96687 ·
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
AOSSIE-Org/DebateAI#582 · コメント 2 件 ·