We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cbc93e7 + d7bd5a6 commit 6e843cfCopy full SHA for 6e843cf
src/utils/defaults.js
@@ -337,6 +337,18 @@ module.exports = {
337
/^manifest.*\.js$/, // default value
338
/\.nojekyll$/,
339
/\.gitignore$/,
340
+ /conf\.yml$/, // ignore config for runtimeCaching
341
+ ],
342
+ // https://developer.chrome.com/docs/workbox/modules/workbox-build#type-RuntimeCaching
343
+ runtimeCaching: [
344
+ {
345
+ urlPattern: /conf\.yml$/,
346
+ handler: 'NetworkFirst',
347
+ options: {
348
+ cacheName: 'config-cache',
349
+ networkTimeoutSeconds: 3,
350
+ },
351
352
],
353
},
354
0 commit comments