Optimize getting web resources

オープン
#1,289 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@kishansinghifs1 がすでに取り組んでいます。

2025年10月4日 から。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
backend

調査の方向性

Start by tracing how the registry retrieves extension package resources and where ZIP entries are extracted. Then assess how Apache Commons Compress can provide entry offsets and how the existing download path could use byte ranges and cache decompressed data. Done means resource retrieval can use the manifest and fetch only the required compressed bytes; the issue does not name files or tests.

索引モデルが issue の本文から書いたものです。

説明

enhancement server

This would remove the need to download the whole extension package to extract a file from it.

  • Create extension package manifest that contains for each entry: name, offset, compressedSize, compressionMethod.
  • Use Apache commons-compress to get accurate offset data.
  • Use offset and compressedSize to download specific byte range instead of the whole ZIP archive.
  • Decompress the downloaded byte range using compressionMethod.
  • Cache the decompressed byte range.

Extra: use Accept-Encoding request header to check if the server can directly redirect to Azure Blob Storage using Range and Content-Encoding headers.

主要言語
Java
スター
2.1k
フォーク
362
平均マージ
1日 3時間
マージ済み PR(30日)
44

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-openvsx/openvsx のほかの issue

eclipse-openvsx/openvsx の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。