Optimize getting web resources

Open
#1,289 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@kishansinghifs1 is already working on this.

Since Oct 4, 2025.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
backend

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Java
Stars
2.1k
Forks
362
Avg merge
1d 3h
Merged PRs (30d)
44

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-openvsx/openvsx

All issues in eclipse-openvsx/openvsx

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.