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
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/en/blog/early-hints/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)


## Enabling Early Hints, the easy way

Expand Down