Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
runtimeCaching: [{
urlPattern: /api\.feedgist\.io/,
handler: 'networkFirst'
}, {
urlPattern: /.fbcdn\.net/,
handler: 'cacheFirst'
}, {
urlPattern: /akamaihd\.net/,
handler: 'cacheFirst'
}, {
urlPattern: /fonts\.googleapis\.com/,
handler: 'cacheFirst'
}, {
urlPattern: /fonts\.gstatic\.com/,
handler: 'cacheFirst'
}, {
urlPattern: /cdn\.onesignal\.com/,
handler: 'networkFirst'
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.