惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News and Events Feed by Topic
GbyAI
GbyAI
博客园 - Franky
宝玉的分享
宝玉的分享
Blog — PlanetScale
Blog — PlanetScale
Google DeepMind News
Google DeepMind News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
人人都是产品经理
人人都是产品经理
Microsoft Azure Blog
Microsoft Azure Blog
The Register - Security
The Register - Security
腾讯CDC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
I
InfoQ
The Cloudflare Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
有赞技术团队
有赞技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
F
Full Disclosure
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Vercel News
Vercel News
博客园 - 【当耐特】
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
S
Schneier on Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Project Zero
Project Zero
量子位
M
MIT News - Artificial intelligence
Stack Overflow Blog
Stack Overflow Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
美团技术团队
Attack and Defense Labs
Attack and Defense Labs
C
Cybersecurity and Infrastructure Security Agency CISA
T
The Blog of Author Tim Ferriss
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Troy Hunt's Blog
Google Online Security Blog
Google Online Security Blog
罗磊的独立博客
P
Proofpoint News Feed
Schneier on Security
Schneier on Security
Spread Privacy
Spread Privacy
S
SegmentFault 最新的问题
L
LINUX DO - 最新话题
Simon Willison's Weblog
Simon Willison's Weblog
爱范儿
爱范儿
博客园 - 聂微东
A
About on SuperTechFans
PCI Perspectives
PCI Perspectives
D
Docker

Recent Commits to netinfo:gh-pages

chore: enable MDN + config cleanup · WICG/netinfo@7922967 chore: In the Browser Support table, show Android Firefox (#86) Merge pull request #83 from yoavweiss/cleanup Remove Save-Data and reference Client Hints Update w3c.json Use [SameObject] for navigator.connection IDL (#79) Remove extended attributes on mixin · WICG/netinfo@60dd214 Markdown cleanup Move Marcos to former editor. first attempt at addressing #71 (#73) · WICG/netinfo@f759683 Update index.html (#72) Move ferjm to the former editors section (#70) define RTT, Downlink, ECT request header fields (#69) add saveData attribute to NetworkInformation (#66) · WICG/netinfo@10fdd2d Revamp of the "Requirements and use cases" section. (#65) use application RTT/throughput for NQE (#62) call out same+cross-origin exposure in privacy section clarify how rtt & downlink are determined (#57) Merge pull request #54 from WICG/threshold
Added example about offline mode (#75) · WICG/netinfo@a241166
f0rmat1k · 2018-11-02 · via Recent Commits to netinfo:gh-pages
Original file line numberDiff line numberDiff line change

@@ -120,6 +120,7 @@

120120

* A web application whose primary purpose is to stream media could check `navigator.connection.type` prior to playback. When it's set to `'cellular'`, it could advise users that their mobile network operator might be charging for the bandwidth, and only start automatic playback of previously cached content.

121121

* A web application that makes use of a service worker to [cache](https://w3c.github.io/ServiceWorker/v1/#cache-objects) resources during [installation](https://w3c.github.io/ServiceWorker/v1/#installation-algorithm) might have different bundles of assets that it might cache: a list of crucial assets that are cached unconditionally, and a bundle of larger, optional assets that are only cached ahead of time when `navigator.connection.type` is `'ethernet'` or `'wifi'`.

122122

* A web application that uses a service worker with a [background sync](https://github.com/WICG/BackgroundSync/blob/master/explainer.md) handler might check the current `navigator.connection.type` value, and only transfer data inside the `sync` event handler if it is is `'ethernet'` or `'wifi'`.

123+

* A web application might make decision to enable offline mode based on network condition (e.g., when EDGE is not enough).

123124
124125

### Provide a way for scripts to be notified if the connection type changes.

125126