-
Notifications
You must be signed in to change notification settings - Fork 312
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 #1701
ServiceWorker static routing API #1701
Commits on Nov 28, 2023
-
I used to work on the specification update to support the ServiceWorker static routing API (https://github.com/WICG/service-worker-static-routing-api) w3c#1686 However, I accidentally closed it by force-sync to the ServiceWorker specification's repository HEAD. This CL is for reviving it.
Configuration menu - View commit details
-
Copy full SHA for 0a553af - Browse repository at this point
Copy the full SHA 0a553afView commit details -
Just trying to add workflows rule to run CI in static_routing_api repository.
Configuration menu - View commit details
-
Copy full SHA for a884283 - Browse repository at this point
Copy the full SHA a884283View commit details -
Configuration menu - View commit details
-
Copy full SHA for b650b57 - Browse repository at this point
Copy the full SHA b650b57View commit details
Commits on Nov 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bdc2474 - Browse repository at this point
Copy the full SHA bdc2474View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef050e2 - Browse repository at this point
Copy the full SHA ef050e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39b670f - Browse repository at this point
Copy the full SHA 39b670fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75d848a - Browse repository at this point
Copy the full SHA 75d848aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 025eb82 - Browse repository at this point
Copy the full SHA 025eb82View commit details -
Configuration menu - View commit details
-
Copy full SHA for d90ac0b - Browse repository at this point
Copy the full SHA d90ac0bView commit details
Commits on Dec 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6577640 - Browse repository at this point
Copy the full SHA 6577640View commit details -
Update the case without the urlPattern condition.
Considering the future update of the condition, we should mark the case handled as one of conditions. Also, we need to make it extensible.
Configuration menu - View commit details
-
Copy full SHA for cd5c864 - Browse repository at this point
Copy the full SHA cd5c864View commit details -
Fix the urlPattern existence handling.
It was flipped by mistake.
Configuration menu - View commit details
-
Copy full SHA for 0162980 - Browse repository at this point
Copy the full SHA 0162980View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4639e6c - Browse repository at this point
Copy the full SHA 4639e6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4f57ec - Browse repository at this point
Copy the full SHA f4f57ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d4ed51 - Browse repository at this point
Copy the full SHA 0d4ed51View commit details
Commits on Dec 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for dd0590b - Browse repository at this point
Copy the full SHA dd0590bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bfef6f - Browse repository at this point
Copy the full SHA 8bfef6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0909c9c - Browse repository at this point
Copy the full SHA 0909c9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fd1936 - Browse repository at this point
Copy the full SHA 2fd1936View commit details -
Configuration menu - View commit details
-
Copy full SHA for bef5857 - Browse repository at this point
Copy the full SHA bef5857View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d8cf97 - Browse repository at this point
Copy the full SHA 1d8cf97View commit details -
Configuration menu - View commit details
-
Copy full SHA for acdd79d - Browse repository at this point
Copy the full SHA acdd79dView commit details -
Merge pull request #1 from yoshisatoyanagisawa/yy_workspace
Revive of PR w3c#1686.
Configuration menu - View commit details
-
Copy full SHA for 745eeeb - Browse repository at this point
Copy the full SHA 745eeebView commit details
Commits on Dec 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f647207 - Browse repository at this point
Copy the full SHA f647207View commit details -
Configuration menu - View commit details
-
Copy full SHA for df4fe98 - Browse repository at this point
Copy the full SHA df4fe98View commit details
Commits on Dec 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 538c264 - Browse repository at this point
Copy the full SHA 538c264View commit details -
Configuration menu - View commit details
-
Copy full SHA for be86954 - Browse repository at this point
Copy the full SHA be86954View commit details
Commits on Dec 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 40eaa69 - Browse repository at this point
Copy the full SHA 40eaa69View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0033b2 - Browse repository at this point
Copy the full SHA c0033b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3bad31 - Browse repository at this point
Copy the full SHA d3bad31View commit details
Commits on Dec 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 46a5f2e - Browse repository at this point
Copy the full SHA 46a5f2eView commit details
Commits on Dec 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e99b357 - Browse repository at this point
Copy the full SHA e99b357View commit details -
Merge pull request #2 from azaika/add_fetch_source
Add 'fetch-event' source
Configuration menu - View commit details
-
Copy full SHA for 0f3c65d - Browse repository at this point
Copy the full SHA 0f3c65dView commit details
Commits on Dec 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f51a224 - Browse repository at this point
Copy the full SHA f51a224View commit details -
Configuration menu - View commit details
-
Copy full SHA for a44f9a4 - Browse repository at this point
Copy the full SHA a44f9a4View commit details
Commits on Jan 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7b4f2d8 - Browse repository at this point
Copy the full SHA 7b4f2d8View commit details -
- added a note on multiple conditions. - changed continue to [=continue=].
Configuration menu - View commit details
-
Copy full SHA for f9df489 - Browse repository at this point
Copy the full SHA f9df489View commit details -
- remove checking if runningStatus is one of RunningStatus. - use "will" instead of "should".
Configuration menu - View commit details
-
Copy full SHA for 9709650 - Browse repository at this point
Copy the full SHA 9709650View commit details
Commits on Jan 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 768861b - Browse repository at this point
Copy the full SHA 768861bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c966f7 - Browse repository at this point
Copy the full SHA 0c966f7View commit details -
- Use ByteString instead USVString for requestMethod. - typos on forgetting "=" in closing "=]".
Configuration menu - View commit details
-
Copy full SHA for 9c57f5f - Browse repository at this point
Copy the full SHA 9c57f5fView commit details
Commits on Jan 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ca833a4 - Browse repository at this point
Copy the full SHA ca833a4View commit details -
- mutual to mutually. - |or condition| or |or conditions| to |orCondition| or |orConditions|. - simplify the for loop upon WICG/service-worker-static-routing-api#9.
Configuration menu - View commit details
-
Copy full SHA for 42d01eb - Browse repository at this point
Copy the full SHA 42d01ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d0d848 - Browse repository at this point
Copy the full SHA 2d0d848View commit details
Commits on Jan 31, 2024
-
Add "cache" source support. (#4)
* Add "cache" source support. * Use |client| as settingsObject to evaluate COEP. When the ServiceWorker static routing API is used and source other than "fetch-event" is used, results are directly returned without running ServiceWorker. In that case, we use the request's COEP instead of ServiceWorker's COEP.
Configuration menu - View commit details
-
Copy full SHA for 8304676 - Browse repository at this point
Copy the full SHA 8304676View commit details -
Bug fix: Make |registration| has a meaningful value. (#8)
* Make |registration| set. In the previous specification, |registration| looks null when the ServiceWorker static routing API is used. Let me fix that by moving the step after configuring the registration. * Remove unnecessary blank line.
Configuration menu - View commit details
-
Copy full SHA for bde360b - Browse repository at this point
Copy the full SHA bde360bView commit details
Commits on Feb 5, 2024
-
With this change, cacheName is supported. It means that if there is multiple cache storage and developers want to choose which storage to use, they can specify the storage by cacheName.
Configuration menu - View commit details
-
Copy full SHA for 55f9360 - Browse repository at this point
Copy the full SHA 55f9360View commit details
Commits on Feb 9, 2024
-
Use ServiceWorkerGlobalScope instead of request's settingsObject for …
…COEP. (#11) When we designed the ServiceWorker static routing API, it was designed to be offloading simple things ServiceWorkers do. With that concept, if we evaluate the cache COEP, it should not be a request's COEP, but to be a ServiceWorker's COEP to make it behave as an offload. To make it happen, we set up the ServiceWorkerGlobalScope to be used for the COEP check. Since we only need ServiceWorkerGlobalScope for CSP checks, this PR separated the Run ServiceWorker algorithm to ServiceWorkerGlobalScope setup and others, and make it called before the static routing's cache COEP check if ServiceWorkerGlobalScope is not ready.
Configuration menu - View commit details
-
Copy full SHA for 5a48d55 - Browse repository at this point
Copy the full SHA 5a48d55View commit details
Commits on Feb 15, 2024
-
Address comments in the main PR. (#12)
* Reflect some of comments in w3c#1701 * Clarified the cache name matching. * Run soft update during the router is selected. * Explicitly unset the flag on terminate. * add definition for agent. * Use registration's cache map instead of this's. * renamed to add "flag", but I still need to find a better name.
Configuration menu - View commit details
-
Copy full SHA for 59e1de9 - Browse repository at this point
Copy the full SHA 59e1de9View commit details
Commits on Feb 16, 2024
-
Add
race-network-and-fetch-handler
sourcerace-network-and-fetch-handler is a source to allow request to do competition between a network fetch and a fetch handler. To implement the feature, this CL factored out the process to run a fetch handler in agent. It is called from both the ServiceWorker static routing API part and the original part. In the static routing API part, a fetch controller also runs in parallel, and the Handle Fetch algorithm returns a response coming earlier to the queue.
Configuration menu - View commit details
-
Copy full SHA for c324260 - Browse repository at this point
Copy the full SHA c324260View commit details -
Go with the XXX algorithm form
In the previous CLs, there was a mix of the X algorithm and X algorithm. This CL changes all to the X algorithm when calling the algorithm defined in this PR.
Configuration menu - View commit details
-
Copy full SHA for e67a439 - Browse repository at this point
Copy the full SHA e67a439View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9635f8a - Browse repository at this point
Copy the full SHA 9635f8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 088bb7b - Browse repository at this point
Copy the full SHA 088bb7bView commit details
Commits on Feb 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d237b4a - Browse repository at this point
Copy the full SHA d237b4aView commit details -
Co-authored-by: Marijn Kruisselbrink <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7791260 - Browse repository at this point
Copy the full SHA 7791260View commit details -
Re-format {{ServiceWorkerGlobalScope}} part and move `It is initially…
… unset` phrase (#14) * Remove |raceResponseMap| * Re-format {{ServiceWorkerGlobalScope}} part and move `It is initially unset` phrase
Configuration menu - View commit details
-
Copy full SHA for 16c38c1 - Browse repository at this point
Copy the full SHA 16c38c1View commit details -
Not to modify |activeWorker| for handling the static routing API
Upon the review request, this CL makes |activeWorker| not modified in the Setup ServiceWorkerGlobalScope algorithm. It is the caller's responsibility to update the active service worker's global scope. With this change, an effemeral ServiceWorkerGlobalScope can be used for a cache source in the static routing API.
Configuration menu - View commit details
-
Copy full SHA for c96dba0 - Browse repository at this point
Copy the full SHA c96dba0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a0f50d - Browse repository at this point
Copy the full SHA 9a0f50dView commit details
Commits on Feb 22, 2024
-
Update race handling, lookup race response algorithm (#16)
* Remove |raceResponseMap| * Re-format {{ServiceWorkerGlobalScope}} part and move `It is initially unset` phrase * Fix |url| in Lookup Race Response * Update race handling, lookup race response algorithm
Configuration menu - View commit details
-
Copy full SHA for 31f3b94 - Browse repository at this point
Copy the full SHA 31f3b94View commit details