Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multipart range requests #1229

Open
wgreenberg opened this issue Mar 18, 2022 · 2 comments
Open

Support for multipart range requests #1229

wgreenberg opened this issue Mar 18, 2022 · 2 comments

Comments

@wgreenberg
Copy link

Feature Proposal

Currently, webpack-dev-middleware only supports single-range requests, and will return the entire requested resource if multiple ranges are specified (https://github.com/webpack/webpack-dev-middleware/blob/master/src/middleware.js#L215-L218). I didn't see any documentation around this, or previous discussion about why it wasn't supported, so figured it'd be worth requesting the feature.

Feature Use Case

A multipart range request would allow noclip.website to load specific meshes/game objects efficiently without shipping an otherwise incredibly large (sometimes >1GB) game data file.

Please paste the results of npx webpack-cli info here, and mention other relevant information

  System:
    OS: Windows 10 10.0.19043
    CPU: (12) x64 Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz 
    Memory: 6.98 GB / 15.89 GB
  Binaries:
    Node: 16.14.0 - C:\Program Files\nodejs\node.EXE        
    npm: 8.3.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (99.0.1150.39)
    Internet Explorer: 11.0.19041.1566
  Packages:
    babel-loader: ^8.2.2 => 8.2.3 
    css-loader: ^5.2.4 => 5.2.7 
    eslint-config-webpack: ^1.2.5 => 1.2.5 
    file-loader: ^6.2.0 => 6.2.0 
    html-webpack-plugin: ^4.5.2 => 4.5.2 
    less-loader: ^7.3.0 => 7.3.0 
    style-loader: ^2.0.0 => 2.0.0 
    url-loader: ^4.1.1 => 4.1.1 
    webpack: ^5.69.1 => 5.70.0 
    webpack-cli: ^4.7.2 => 4.9.2 
    webpack-dev-middleware: ^5.3.1 => 5.3.1 
    webpack-merge: ^5.8.0 => 5.8.0 
@alexander-akait
Copy link
Member

PR welcome

@disarticulate
Copy link

this affects development with https://flatgeobuf.org/ @ https://github.com/flatgeobuf/flatgeobuf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants