Contact emails
kenji...@chromium.org, jsb...@chromium.org
Spec
Editor’s draft (W3C First Public Working Draft)
Summary
This is a follow-up to the initial intent to ship for the Cache API (LGTM-ed).
We are adding addAll() taking us one step closer to remove the need for a polyfill altogether (remaining API surface to implement: matchAll).
Link to “Intent to Implement” blink-dev discussion
https://groups.google.com/a/chromium.org/d/msg/blink-dev/Du9lhfui1Mo/HxL_pS7Cl-AJ
The spec and project used to be called Navigation Controller, but the name was changed to Service Worker. See also the Service Worker intent to ship.
Is this feature supported on all five Blink platforms (Windows, Mac, Linux, Chrome OS and Android)?
Yes.
Demo link
This is essentially the same demo featured in our Service Worker intent to ship (the demo uses a polyfill and is being updated to let native Cache APIs take over when available).
Debuggability
Developers can check the existence of caches and peek inside manually by inspecting the relevant Service Worker and issuing commands via the console.
Compatibility Risk
Pluses and minuses:
+ The public working draft of the spec has a good heart beat.
+ Mozilla has implemented the Cache API in Firefox, see bug 940273 (from a quick read, their implementation covers the whole API surface)
+ We regularly reconcile the spec and our implementation. We have a defined process for that.
+ The team has been writing W3C testharness.js tests which we are working on upstreaming to W3C.
+ The Cache API part of the spec has been stable for a while.
? We will cross check our implementation with Firefox’s on our/their tests and report back our findings asap.
OWP launch tracking bug?
https://code.google.com/p/chromium/issues/detail?id=427652
Link to entry on the feature dashboard
+ The team has been writing W3C testharness.js tests which we are working on upstreaming to W3C.
? We will cross check our implementation with Firefox’s on our/their tests and report back our findings asap.