Cloudflare

Accelerating Node.js applications with HTTP/2 Server Push

Aug 16, 2016Terin Stock
Accelerating Node.js applications with HTTP/2 Server Push
SummaryAI, from the source post

Introduced netjet, a Node.js middleware that parses HTML to automatically add HTTP/2 Server Push Link headers, improving performance for Node.js applications. Implemented an adjustable LRU cache keyed by ETag headers to speed up subsequent parses. Provided examples for integrating netjet with Express and plain Node.js http servers. Detailed how to verify Server Push using Chrome Developer Tools and the `cf-h2-pushed` header.

More from the Cache Management trail