Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

Accelerating Node.js applications with HTTP/2 Server Push

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Terin Stock
Word Count
605
Company Posts That Month
9
Language
English
Hacker News Points
50
Post removed?
No
Summary

In April 2016, support for HTTP/2 Server Push was announced via the HTTP Link header. Netjet middleware was developed to parse generated HTML and automatically add Link headers in Node.js applications. This technique can be implemented in other environments as well. However, using an HTML parser in the response stack increases page load latency. To mitigate this issue, netjet includes an adjustable LRU cache keyed by ETag headers. Netjet is compatible with any Node.js HTML framework that supports Express-like middleware and can be used without frameworks as well. Chrome's Developer Tools can verify Server Push usage while Firefox's Developer Tools do not directly expose it yet. Contributions to improve netjet or the documentation are appreciated. Netjet has been integrated with Ghost, a popular blogging platform, since version 0.8.0.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.