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

ETag support #738

Closed
privatenumber opened this issue Oct 20, 2020 · 3 comments · Fixed by #1797
Closed

ETag support #738

privatenumber opened this issue Oct 20, 2020 · 3 comments · Fixed by #1797

Comments

@privatenumber
Copy link

  • Operating System: Mac
  • Node Version: v12.16.2
  • NPM Version: v6.14.4
  • webpack Version: v4.44.2
  • webpack-dev-middleware Version: v3.7.2

Feature Proposal

Add Etags to assets to prevent re-loading unchanged assets.

Feature Use Case

Faster page loads by eliminating loads for large files that are unchanged.

This optimization is used in other dev bundlers like Vite and Snowpack.

Other

I implemented this via wrapper in a separate package.

Happy to open a PR if the issue is accepted.

@alexander-akait
Copy link
Member

@privatenumber Yes, PR welcome

@privatenumber
Copy link
Author

Is v3 still actively maintained? I didn't see a separate dev branch for it but I'm personally using v3 so I would like to add it there so that I can use it.

If not, I can add it to v4.

@alexander-akait
Copy link
Member

Yes, let's add to v4, I will do release in near future (today/tomorrow), also v4 supports webpack@4 and webpack@5

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

Successfully merging a pull request may close this issue.

3 participants
@privatenumber @alexander-akait and others