Skip to content

Conversation

@monica-ch
Copy link
Collaborator

@monica-ch monica-ch commented Apr 16, 2025

This PR adds new source race-network-and-cache to the SW static routing api per https://github.com/WICG/service-worker-static-routing-api/blob/main/final-form.md.


Preview | Diff

@monica-ch
Copy link
Collaborator Author

@yoshisatoyanagisawa PTAL when you get a chance, thanks!

@yoshisatoyanagisawa
Copy link
Collaborator

@sisidovski Will you take a look?
I assume it mostly fine but I feel all failure scenarios may not work well for both race-network-and-fetch-event and race-network-and-cache.

@monica-ch monica-ch reopened this Jan 22, 2026
@monica-ch
Copy link
Collaborator Author

@yoshisatoyanagisawa Can you please review the recent changes - removed networkFetchCompleted and fetchHandlerCompleted that was introduced in the PR earlier and incorporated timingInfo per the recent changes in the cache/race-network-and-cache algorithm.

@yoshisatoyanagisawa
Copy link
Collaborator

Thanks for the contribution. Overall it looks good except the raceNetworkAndCacheCacheName source support.
To reduce the algorithm duplication, I hope cache lookup algorithms are factored out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants