Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/webpack/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Webpack 网页包和HTTP/2_Webpack_Http2 - Fatal编程技术网

Webpack 网页包和HTTP/2

Webpack 网页包和HTTP/2,webpack,http2,Webpack,Http2,使用http/2设置网页包的最佳方法是什么?目前,我已将cloudfront设置为服务http/2。当我加载内容时,它通常会工作,但有时chrome会给我错误net::ERR\u SPDY\u COMPRESSION\u errorwebpack与HTTP/2有什么关系?webpack只是将应用程序捆绑到HTML文件、Javascript和Co中。它不关心您是否通过HTTP/1.1、HTTP/2、在云中、在嵌入式设备上或其他地方提供它们。在我验证我的站点使用HTTP/1而不是HTTP/2之前,我

使用http/2设置网页包的最佳方法是什么?目前,我已将cloudfront设置为服务http/2。当我加载内容时,它通常会工作,但有时chrome会给我错误
net::ERR\u SPDY\u COMPRESSION\u error

webpack与HTTP/2有什么关系?webpack只是将应用程序捆绑到HTML文件、Javascript和Co中。它不关心您是否通过HTTP/1.1、HTTP/2、在云中、在嵌入式设备上或其他地方提供它们。在我验证我的站点使用HTTP/1而不是HTTP/2之前,我一直这么认为。还有一个更大的讨论-