-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Command renamed and Minor corrections
- Loading branch information
Showing
12 changed files
with
56 additions
and
24 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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
importScripts( | ||
'https://storage.googleapis.com/workbox-cdn/releases/7.0.0/workbox-sw.js' | ||
); | ||
|
||
// *** Recipes *** | ||
// You are free to change or remove any of these presets as you wish. | ||
// See https://developer.chrome.com/docs/workbox/modules/workbox-recipes for more information. | ||
const { | ||
pageCache, | ||
imageCache, | ||
staticResourceCache, | ||
googleFontsCache, | ||
} = workbox.recipes; | ||
|
||
pageCache();// => Cache pages with a network-first strategy. | ||
staticResourceCache();// => Cache CSS, JS, and Web Worker requests with a cache-first strategy. | ||
imageCache();// => Cache images with a cache-first strategy. | ||
googleFontsCache();// => Cache the underlying font files with a cache-first strategy. | ||
|
||
// *** Bundle rules *** | ||
//PRECACHING_PLACEHOLDER | ||
//WARM_CACHE_URLS_PLACEHOLDER | ||
//OFFLINE_FALLBACK_PLACEHOLDER | ||
//WIDGETS_PLACEHOLDER |