Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Provide an offsite image whitelist, to allow fetch events to fetch specific offsite images into the cache. - Provide a "passthrough" callback for the fetch() promise that simply returns the response, and use this for all cases where we want to delegate to the network and only fallback to offline resources when offline. - Ensured that the cache clearing strategy is working correctly, by ensuring that the filter() function returns a boolean.
- Loading branch information
1 parent
1dc8855
commit b2f9737
Showing
2 changed files
with
36 additions
and
11 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
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