Optimize getting web resources

Đang mở
#1,289 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@kishansinghifs1 đang làm issue này rồi.

Từ ngày 4/10/2025.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Java
Star
2.1k
Fork
362
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
44

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-openvsx/openvsx

Tất cả issue của eclipse-openvsx/openvsx

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.