-
Notifications
You must be signed in to change notification settings - Fork 173
Open
Description
Version
Reproduction link
https://codesandbox.io/s/cranky-grothendieck-y4kyh
Steps to reproduce
in nuxt.config.js edit the pwa to contain ignoreURLParametersMatching ( this will be added at the option to precaching )
pwa: {
cacheOptions: {
cacheId: 'test',
directoryIndex: '/',
revision: timestamp,
ignoreURLParametersMatching: [/.*/]
},
}
npm run build
What is expected ?
ignoreURLParametersMatching: [/.*/]
What is actually happening?
ignoreURLParametersMatching: [{}]
Additional comments?
This breaks the preCache functionality when query strings exist in the requested file, throwing a 404 error from the service worker.
mihnayan and devzom
Metadata
Metadata
Assignees
Labels
No labels