Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

v1.3.0: Additional Preload Attributes

Latest

Choose a tag to compare

@terinjokes terinjokes released this 06 Feb 13:07
· 4 commits to master since this release
v1.3.0
05d6303

This release contains one new feature: support for adding additional Link attributes such as "nopush" and "x-http2-push-only" that may be understood by downstream intermediaries.

express()
  .use(netjet({
    directives: ['nopush']
  }))
  .use(express.static(root))
  .listen(1337);

Thanks to @SamyPesse for the PR. 🎉

Features

  • support optional preload attributes (7900bd52)