Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Added note about NodeJS support for early hints #4076

Closed
wants to merge 1 commit into from

Conversation

richardeschloss
Copy link

Changes proposed in this pull request:

  • Added note about NodeJS support for early hints. It appears as though support landed in NodeJS 18.x on Aug 17, 2022

@netlify
Copy link

netlify bot commented Oct 20, 2022

Deploy Preview for developer-chrome-com ready!

Name Link
🔨 Latest commit bf0f906
🔍 Latest deploy log https://app.netlify.com/sites/developer-chrome-com/deploys/6351709a42ecec00084bd1fb
😎 Deploy Preview https://deploy-preview-4076--developer-chrome-com.netlify.app/en/blog/early-hints
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@google-cla
Copy link

google-cla bot commented Oct 20, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@@ -134,7 +134,7 @@ Here is a quick summary of the level of support for Early Hints among popular OS
- **Apache:** [supported](https://httpd.apache.org/docs/2.4/howto/http2.html#earlyhints) via mod_http2.
- **H2O:** [supported](https://github.com/h2o/h2o/pull/1767).
- **NGINX:** [experimental module](https://github.com/nginx-modules/ngx_http_early_hints).
- **Node:** not yet supported by core. Available as a [draft plugin for Fastify](https://www.npmjs.com/package/fastify-early-hints).
- **Node:** not yet supported by 16.x (LTS). Implemented in NodeJS 18.x (https://nodejs.org/docs/latest-v18.x/api/http.html#responsewriteearlyhintshints-callback)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would mention the exact version it was introduced in and the exact API:s its supported in:

Suggested change
- **Node:** not yet supported by 16.x (LTS). Implemented in NodeJS 18.x (https://nodejs.org/docs/latest-v18.x/api/http.html#responsewriteearlyhintshints-callback)
- **Node:** supported since [18.11.0](https://nodejs.org/en/blog/release/v18.11.0/) for [http](https://nodejs.org/api/http.html#responsewriteearlyhintshints-callback) and [http2](https://nodejs.org/api/http2.html#responsewriteearlyhintslinks)

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

Successfully merging this pull request may close these issues.

None yet

3 participants