Nuxt.js: feat: support http2 out of the box / with minimal configuration

Created on 15 Nov 2018  路  2Comments  路  Source: nuxt/nuxt.js

What problem does this feature solve?

Support http2 out of the box :)

This feature request is available on Nuxt community (#c8145)
feature-request

Most helpful comment

Well, we're well past Node 9.x now (12.16.3). I think it's worth considering making http2 the default protocol now.

All 2 comments

Will only work (natively) with Node 9.x.y (https://nodejs.org/api/http2.html#http2_core_api)

related lines:

https://github.com/nuxt/nuxt.js/blob/7c4e77ffb9d18279bd9d0c5f4d39eb55569c6a81/packages/server/src/listener.js#L53-L55

Well, we're well past Node 9.x now (12.16.3). I think it's worth considering making http2 the default protocol now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mattdharmon picture mattdharmon  路  3Comments

surmon-china picture surmon-china  路  3Comments

vadimsg picture vadimsg  路  3Comments

maicong picture maicong  路  3Comments

shyamchandranmec picture shyamchandranmec  路  3Comments