Skip to content

Link preload support for HTTP/1.1 connections

Sebastiaan Deckers requested to merge link-preload into master

Closes #19 (closed) and #8 (closed)

HTTP/1.1 fallback

node-spdy supports various SPDY protocol versions and falls back to HTTP/1.1 automatically. Will need to explore how Node.js 8+ HTTP/2 support handles legacy HTTP/1.1 fallback.

Link preload

This implementation leaves the as parameter unset. Let's see if it works IRL. Should only matter to CSP, AFAIK. Also, the number of preload assets is unbound. Other implementations may be restricted. Case in point, CloudFlare only supports up to 50 pushed resources. 1

  1. https://blog.cloudflare.com/http-2-server-push-with-multiple-assets-per-link-header/#conclusion

Merge request reports