-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ServiceWorker Static Routing API #102
Comments
A specification update to support the static routing API proposed in WICG/proposals#102
This CL adds the Web Platform Tests to test ServiceWorker static routing API for subresources. WICG proposal: WICG/proposals#102 Spec PR: w3c/ServiceWorker#1686 Change-Id: I7379d85b5a2208f248878abe9d1a920ad97d47ab Bug: 1371756
This CL adds the Web Platform Tests to test ServiceWorker static routing API for subresources. WICG proposal: WICG/proposals#102 Spec PR: w3c/ServiceWorker#1686 Change-Id: I7379d85b5a2208f248878abe9d1a920ad97d47ab Bug: 1371756
This CL adds the Web Platform Tests to test ServiceWorker static routing API for subresources. WICG proposal: WICG/proposals#102 Spec PR: w3c/ServiceWorker#1686 Change-Id: I7379d85b5a2208f248878abe9d1a920ad97d47ab Bug: 1371756
This CL adds the Web Platform Tests to test ServiceWorker static routing API for subresources. WICG proposal: WICG/proposals#102 Spec PR: w3c/ServiceWorker#1686 Change-Id: I7379d85b5a2208f248878abe9d1a920ad97d47ab Bug: 1371756
This CL adds the Web Platform Tests to test ServiceWorker static routing API for subresources. WICG proposal: WICG/proposals#102 Spec PR: w3c/ServiceWorker#1686 Change-Id: I7379d85b5a2208f248878abe9d1a920ad97d47ab Bug: 1371756 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4664026 Reviewed-by: Shunya Shishido <[email protected]> Reviewed-by: Minoru Chikamune <[email protected]> Reviewed-by: Kouhei Ueno <[email protected]> Commit-Queue: Yoshisato Yanagisawa <[email protected]> Reviewed-by: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/main@{#1171605}
This CL adds the Web Platform Tests to test ServiceWorker static routing API for subresources. WICG proposal: WICG/proposals#102 Spec PR: w3c/ServiceWorker#1686 Change-Id: I7379d85b5a2208f248878abe9d1a920ad97d47ab Bug: 1371756 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4664026 Reviewed-by: Shunya Shishido <[email protected]> Reviewed-by: Minoru Chikamune <[email protected]> Reviewed-by: Kouhei Ueno <[email protected]> Commit-Queue: Yoshisato Yanagisawa <[email protected]> Reviewed-by: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/main@{#1171605}
…r subresource loads., a=testonly Automatic update from web-platform-tests WPT: ServiceWorker static routing API for subresource loads. This CL adds the Web Platform Tests to test ServiceWorker static routing API for subresources. WICG proposal: WICG/proposals#102 Spec PR: w3c/ServiceWorker#1686 Change-Id: I7379d85b5a2208f248878abe9d1a920ad97d47ab Bug: 1371756 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4664026 Reviewed-by: Shunya Shishido <[email protected]> Reviewed-by: Minoru Chikamune <[email protected]> Reviewed-by: Kouhei Ueno <[email protected]> Commit-Queue: Yoshisato Yanagisawa <[email protected]> Reviewed-by: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/main@{#1171605} -- wpt-commits: d6ae6c83c103fdf28aefd9fb3445470c96c0e17b wpt-pr: 41038
…r subresource loads., a=testonly Automatic update from web-platform-tests WPT: ServiceWorker static routing API for subresource loads. This CL adds the Web Platform Tests to test ServiceWorker static routing API for subresources. WICG proposal: WICG/proposals#102 Spec PR: w3c/ServiceWorker#1686 Change-Id: I7379d85b5a2208f248878abe9d1a920ad97d47ab Bug: 1371756 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4664026 Reviewed-by: Shunya Shishido <sisidovskichromium.org> Reviewed-by: Minoru Chikamune <chikamunechromium.org> Reviewed-by: Kouhei Ueno <kouheichromium.org> Commit-Queue: Yoshisato Yanagisawa <yyanagisawachromium.org> Reviewed-by: Kent Tamura <tkentchromium.org> Cr-Commit-Position: refs/heads/main{#1171605} -- wpt-commits: d6ae6c83c103fdf28aefd9fb3445470c96c0e17b wpt-pr: 41038 UltraBlame original commit: b5f983a66877126f278d41b511c32f703f62f63d
…r subresource loads., a=testonly Automatic update from web-platform-tests WPT: ServiceWorker static routing API for subresource loads. This CL adds the Web Platform Tests to test ServiceWorker static routing API for subresources. WICG proposal: WICG/proposals#102 Spec PR: w3c/ServiceWorker#1686 Change-Id: I7379d85b5a2208f248878abe9d1a920ad97d47ab Bug: 1371756 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4664026 Reviewed-by: Shunya Shishido <sisidovskichromium.org> Reviewed-by: Minoru Chikamune <chikamunechromium.org> Reviewed-by: Kouhei Ueno <kouheichromium.org> Commit-Queue: Yoshisato Yanagisawa <yyanagisawachromium.org> Reviewed-by: Kent Tamura <tkentchromium.org> Cr-Commit-Position: refs/heads/main{#1171605} -- wpt-commits: d6ae6c83c103fdf28aefd9fb3445470c96c0e17b wpt-pr: 41038 UltraBlame original commit: b5f983a66877126f278d41b511c32f703f62f63d
…r subresource loads., a=testonly Automatic update from web-platform-tests WPT: ServiceWorker static routing API for subresource loads. This CL adds the Web Platform Tests to test ServiceWorker static routing API for subresources. WICG proposal: WICG/proposals#102 Spec PR: w3c/ServiceWorker#1686 Change-Id: I7379d85b5a2208f248878abe9d1a920ad97d47ab Bug: 1371756 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4664026 Reviewed-by: Shunya Shishido <sisidovskichromium.org> Reviewed-by: Minoru Chikamune <chikamunechromium.org> Reviewed-by: Kouhei Ueno <kouheichromium.org> Commit-Queue: Yoshisato Yanagisawa <yyanagisawachromium.org> Reviewed-by: Kent Tamura <tkentchromium.org> Cr-Commit-Position: refs/heads/main{#1171605} -- wpt-commits: d6ae6c83c103fdf28aefd9fb3445470c96c0e17b wpt-pr: 41038 UltraBlame original commit: b5f983a66877126f278d41b511c32f703f62f63d
…r subresource loads., a=testonly Automatic update from web-platform-tests WPT: ServiceWorker static routing API for subresource loads. This CL adds the Web Platform Tests to test ServiceWorker static routing API for subresources. WICG proposal: WICG/proposals#102 Spec PR: w3c/ServiceWorker#1686 Change-Id: I7379d85b5a2208f248878abe9d1a920ad97d47ab Bug: 1371756 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4664026 Reviewed-by: Shunya Shishido <[email protected]> Reviewed-by: Minoru Chikamune <[email protected]> Reviewed-by: Kouhei Ueno <[email protected]> Commit-Queue: Yoshisato Yanagisawa <[email protected]> Reviewed-by: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/main@{#1171605} -- wpt-commits: d6ae6c83c103fdf28aefd9fb3445470c96c0e17b wpt-pr: 41038
Regarding this API, we see multiple interests from the developer community. e.g. |
Sounds good. @yoshisatoyanagisawa if you want to transfer the repo for the explainer to me, I can transfer it into the WICG org (you will keep admin rights). |
@cwilso Yes, please. Thank you for the help. Do I need to do something to make that happen? |
This has now been migrated into WICG: https://github.com/WICG/service-worker-static-routing-api. |
Introduction
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.
Starting ServiceWorkers is known to be a slow process, and web users need to wait for its startup if the ServiceWorker intercepts loading the page resources. At the same time, the ServiceWorker brings flexibility to the transport layer, and it behaves as a client-side proxy. Developers can implement offline support or provide client-side content modification with it. Currently, ServiceWorkers intercept all requests for pages within their scope, which brings a performance penalty within the scope.
Feedback
Please provide all feedback below.
Explainer "ServiceWorker Static Routing API"
The text was updated successfully, but these errors were encountered: