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

Webpack and HTTP2 #458

Closed
pablohpsilva opened this issue May 9, 2017 · 4 comments
Closed

Webpack and HTTP2 #458

pablohpsilva opened this issue May 9, 2017 · 4 comments

Comments

@pablohpsilva
Copy link

Hello! How do you do?

I would like to have an option on webpack template to support HTTP2. The thing is: The build of my project + vendors are up to 3Mb size! I looked for any way to create chunks of the bundle so I could use HTTP2 requests and load the application faster.

Does anyone knows if this can be done?

@posva
Copy link
Member

posva commented May 9, 2017

Please ask questions on the forum or StackOverflow also, this is not related to Vue and it's not the right repository

@posva posva closed this as completed May 9, 2017
@mhluska
Copy link

mhluska commented Dec 7, 2019

@posva I think he's asking how to get http 2 when using vue-cli-service serve since it does http 1.1 by default. I'm curious about this as well.

@bediu
Copy link

bediu commented Jan 31, 2020

Anyone solved this issue? I need those lighthouse fireworks so bad

@hhsync
Copy link

hhsync commented Feb 21, 2020

@bediu vue-cli-service serve is using webpack-dev-serve to host the project & according to their documentation http2 is not supported at the moment because spdy (library for serving http2) is broken & not used for node.js > v10.0.

They planned to migrate over to node.js built-in http2 support but with this thread seems like it will take a while.

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

5 participants