Skip to content

Commit

Permalink
[Mobile] Mention streams in Network (#198)
Browse files Browse the repository at this point in the history
See #162. Streams have some practical benefits in mobile devices as they allow
more fine-grained control over network usage. Also they may be used to improve
perceived rendering performances, as described in:
https://jakearchibald.com/2016/streams-ftw/

Note: Streams are mentioned on Webkit status and Edge status platforms, but at a
more fine-grained feature level, which we don't yet support.
  • Loading branch information
tidoust authored and xfq committed Mar 23, 2018
1 parent 56b5ba1 commit dc28362
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions data/streams.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"title": "Streams",
"ls": "https://streams.spec.whatwg.org/",
"wgs": [
{
"label": "WHATWG",
"url": "https://whatwg.org/"
}
],
"impl": {
"caniuse": "streams",
"chromestatus": 6605041225957376
}
}
4 changes: 4 additions & 0 deletions mobile/network.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ <h2>Well-deployed technologies</h2>

<section class="featureset in-progress">
<h2>Technologies in progress</h2>
<div data-feature="Low-level I/O">
<p>The <a data-featureid="streams">Streams</a> specification provides APIs for creating, composing, and consuming streams of data efficiently. Network conditions may fluctuate in mobile networks and bandwidth may be restricted; access to low-level I/O primitives enable flow control within Web applications to adjust the network delivery to some reader's speed (e.g. a media player), and perceived rendering performance improvements, e.g. when a Service Worker assembles a stream from content previously cached and content fetched online to speed up the first set of render operations of a page. The ability to cancel a stream to stop download at any time also helps reclaim network bandwidth for other tasks as soon as needed.</p>
</div>

<p data-feature="HTTP Network API">The <a data-featureid="beacon">Beacon API</a> aims at letting developers queue unsupervised HTTP requests, leaving it to the browser to execute them when appropriate, opening the door for better network optimizations.</p>

<div data-feature="Server-pushed Requests">
Expand Down

0 comments on commit dc28362

Please sign in to comment.