Open theshanergy opened 2 years ago
https://github.com/rishabh3112/gridsome-plugin-pwa/blob/3a57346186ca446d0148334415135081b23ef561/src/files/service-worker.js#L20
service-worker.js hardcodes *.json in swConfig.globPatterns regardless of whether it is set in options.cachedFileTypes.
service-worker.js
swConfig.globPatterns
options.cachedFileTypes
This forces clients to download every single page of the site, which can be a problem for sites with many pages.
https://github.com/rishabh3112/gridsome-plugin-pwa/blob/3a57346186ca446d0148334415135081b23ef561/src/files/service-worker.js#L20
service-worker.js
hardcodes *.json inswConfig.globPatterns
regardless of whether it is set inoptions.cachedFileTypes
.This forces clients to download every single page of the site, which can be a problem for sites with many pages.