4 ms·
Still just a drop in the bucket of what Webpack can do, so the HTTP/2 post above shows a major misunderstanding of what people are using Webpack for, and probab
by always_good 9y ago
Still just a drop in the bucket of what Webpack can do, so the HTTP/2 post above shows a major misunderstanding of what people are using Webpack for, and probably what HTTP/2 actually is.
I don't see how you can work on a modern JS application, understand HTTP/2, and think HTTP/2 replaces Webpack. Pick two...
- mbrumlow 9y agoYes, you don't agree with what I said so you attack the author and not the content. Webpack is used for a lot of things -- that it should not be used for. As I posted above many of the things it is used for should out of band of your blunder. HTTP2 removes the need for bundling by allowing a smart web server either learn, or be told what files will be required for rendering to be pushed on the first request from the client. This eliminates the multiple request / and connections required in HTTP1 -- even with 4 pipelines that can be a lot of round trip request. If your application was not smart enough to know what to push to the client HTTP2 can allow multiple request over the same connection again negating the need for bundling.
- igravious 9y agoOi. They were not attacking the author. Their conclusion is sound. Given that Webpack is a lot _more_ than just bundling files together (as has been pointed out twice now) it is incorrect to say that HTTP/2 is a replacement for Webpack. No amount of explaining how HTTP/2 works obviates that fact.
- JimDabell 9y agoThey said they didn't understand Webpack/HTTP2 and misrepresented what they said. Looks like attacking the author to me. > it is incorrect to say that HTTP/2 is a replacement for Webpack. Take a look back over the thread. They didn't say that. They said it was a step in the right direction. Then somebody started putting words in their mouth.
- thelarkinn 9y agoHi @mbrumlow. Sean here from the webpack team. We did a lot of study and testing on HTTP/2 and we found that your claims are entirely incorrect. But don't take my word for it, see the stats! https://medium.com/webpack/webpack-http-2-7083ec3f3ce6 https://medium.com/webpack/webpack-http-2-7083ec3f3ce6 HOWEVER! HTTP/2 and webpack become even more powerful when used together! This is something we are really excited to share and build on!
- paulddraper 9y agoAgreed.