[whatwg/streams] Meta: add a service worker to the spec (#637)

This allows the spec to be viewed offline.

/cc @jakearchibald as my service worker person. /cc @annevk since we may want to be deploying this to other specs.

The biggest open question to me is whether we want a cache-then-network strategy (done here), or network-then-cache strategy. The problem with a cache-then-network strategy is that it means that if the spec has changed since you last visited, you'll always see an outdated spec on your first visit. That seems kind of bad for a living standard. Hmm, maybe I will switch it in a second commit.

I might also push a commit adding a web app manifest and stuff.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/637

-- Commit Summary --

  * Meta: add a service worker to the spec

-- File Changes --

    M deploy.sh (1)
    M index.bs (7)
    A service-worker.js (47)

-- Patch Links --

https://github.com/whatwg/streams/pull/637.patch
https://github.com/whatwg/streams/pull/637.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/637

Received on Thursday, 29 December 2016 19:11:20 UTC