Hey all! Want to highlight two proposals we’re incubating on the NetInfo repo…
This is a proposal for a new HTTP request header and an extension to the Network Information API to convey the HTTP client’s network connection speed.
Service worker might use the client hint to determine, as part of its install handler, whether to precache a heavy- or lightweight bundle of resources. Exposing this information from within the NetworkInformation interface means that a service worker and other scripts could access it via navigator.connection.
Would love to hear any thoughts and feedback.