-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update service-worker example (#10617)
- be type-safe when in ts (match may return undefined, and indeed if a fetch happens too soon after installation the cache may not be populated yet) - handle offline case better, including a weird response edge case
- Loading branch information
1 parent
5b1d1ab
commit d67425c
Showing
1 changed file
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters