Skip to content

deanhume/pwa-connection-type

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Network Information API allows developers to determine the connection types and the underlying connection technology that the user agent is using. In terms of web performance, this brings a whole new level to the way that we build web pages. Being able to reliably determine whether or not a user has a slow 2G connection or a speedy Wifi connection allows developers to serve content accordingly.

If you'd like to learn more about using the Network Information API together with service workers, I have written an article on my blog at deanhume.com

Network Information API

About

A tiny service worker script to change image quality dependant on connection type (2G, 3G, etc)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published