Created
January 27, 2019 19:27
-
-
Save MrPeker/c5c513d11ec4abe76a4e1c8a3f5c14e0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
workbox.routing.registerRoute( | |
match, | |
workbox.strategies.staleWhileRevalidate() | |
); | |
workbox.routing.registerRoute( | |
match, | |
workbox.strategies.networkFirst() | |
); | |
workbox.routing.registerRoute( | |
match, | |
workbox.strategies.cacheFirst() | |
); | |
workbox.routing.registerRoute( | |
match, | |
workbox.strategies.networkOnly() | |
); | |
workbox.routing.registerRoute( | |
match, | |
workbox.strategies.cacheOnly() | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment