netjet is a Node.js HTTP middleware to automatically insert Preload link headers in HTML responses. These Preload link headers allow for web browsers to initiate early resource fetching before being needed for execution.
var express = ;var netjet = ;var root = '/path/to/static/folder';;
images, scripts, and styles:
true the corresponding subresources are parsed and added as a Preload Link headers.
Object passed straight to
lru-cache. It is highly recommended to set
cache.max to an integer.