Contact [email protected], [email protected]

Explainer
https://github.com/yoshisatoyanagisawa/service-worker-static-routing-api

Specificationhttps://github.com/w3c/ServiceWorker/pull/1686

Summary

This API allows developers to configure the routing, and allows them to
offload simple things ServiceWorkers do. If the condition matches, the
navigation happens without starting ServiceWorkers or executing JavaScript,
which allows web pages to avoid performance penalties due to ServiceWorker
interceptions.


Blink componentBlink>ServiceWorker
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EServiceWorker>

TAG reviewhttps://github.com/w3ctag/design-reviews/issues/863

TAG review statusPending

Risks


Interoperability and Compatibility



*Gecko*: No signal (
https://github.com/mozilla/standards-positions/issues/828)

*WebKit*: No signal (
https://github.com/WebKit/standards-positions/issues/206)

*Web developers*: Positive (https://github.com/w3c/ServiceWorker/issues/1373)
We see many positive signals and feedback from developers on the Github
issue and other places (e.g.
https://jakearchibald.com/2019/service-worker-declarative-router/#disqus_thread).
Also, we have several partners lined up.

*Other signals*:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that
it has potentially high risk for Android WebView-based applications?



Goals for experimentation

The purpose of the experiment and the associated Origin Trial is to gather
data on whether this has estimated performance upsides or not. Also, we
welcome any feedback, API surface proposals, and suggestions for additional
scenarios that this API should support.


Ongoing technical constraints

N/A


Debuggability

The registered router rules are visible via
chrome://serviceworker-internals. We’re also considering showing the same
info in DevTools. crbug.com/1467701


Will this feature be supported on all six Blink platforms (Windows, Mac,
Linux, Chrome OS, Android, and Android WebView)?Yes

Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?Yes

Flag name on chrome://flags#service-worker-static-router

Finch feature nameNone

Non-finch justificationNone

Requires code in //chrome?False

Tracking bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1371756

Launch bughttps://launch.corp.google.com/launch/4261120

Estimated milestones
OriginTrial desktop last 121
OriginTrial desktop first 116
OriginTrial Android last 121
OriginTrial Android first 116
OriginTrial webView last 121
OriginTrial webView first 116

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5185352976826368

Links to previous Intent discussionsIntent to prototype:
https://groups.google.com/a/chromium.org/g/blink-dev/c/fyvsde2ay2A/m/RH9E8hB0AgAJ

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGMyg-abNsH2mfBw3%2BiaJgMn3SKCEzBzw0FuMudbmQ9XhkjEVg%40mail.gmail.com.

Reply via email to