WICG / netinfo

https://wicg.github.io/netinfo/
Other
95 stars 24 forks source link

Can we just do metered? #84

Open marcoscaceres opened 4 years ago

marcoscaceres commented 4 years ago

Following #82 and the Mozilla position, seems like the lowest hanging fruit would be to just gut the whole spec and just start with a metered connection flag. Just getting agreement on the tiny bit of the spec would probably go a long way towards meeting the original use cases.

yoavweiss commented 4 years ago

Can we focus this issue on how we can do metered? (and maybe rename appropriately?)

In https://github.com/mozilla/standards-positions/issues/117#issuecomment-596390027 you showed that browsers can potentially use OS-level user settings to understand if a Wifi connection should be considered "metered" or not.

The other problem we need to solve is if a cellular connection is considered "expensive". I'm not aware of an OS-level setting on that front, but maybe browsers can ask users that question, or use data limit warnings users set as a proxy.

/cc @tarunban

tomayac commented 3 years ago

+1 to introducing a metered flag. As https://github.com/mozilla/standards-positions/issues/117#issuecomment-596390027 shows, getting information about this state is possible on several operating systems, both mobile and desktop, and well noting that both cellular networks (e.g., a capped data plan) as well as Wi-Fi networks (e.g., a 250MB access ticket in a hotel) can be metered, plus taking into account the mobile hotspot use case.

tomayac commented 3 years ago

As suggested by @astearns in https://github.com/WICG/netinfo/issues/91#issuecomment-898762171, wanted to point folks who only track the present issue #84 at https://github.com/WICG/netinfo/issues/91#issuecomment-898377639, where I propose a reboot of the Network Information API.