Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable caching "_nuxt" folder due to "The server responded with a status of 429" after every update!!! #112

Open
makamekm opened this issue Jan 9, 2024 · 4 comments

Comments

@makamekm
Copy link

makamekm commented Jan 9, 2024

There is an issue after every update. The SW does not send new files from _nuxt folder and do not recache them. The clients need to restart the browser completely to make it work several times.

@userquin
Copy link
Member

userquin commented Jan 9, 2024

Add registerType: 'autoUpdate' to you PWA options, default value is prompt, and so a new sw version will be awaiting for user/client SKIP_WAITING message:

@userquin
Copy link
Member

userquin commented Jan 9, 2024

_nuxt folder contains all client assets, by default PWA module will precache all assets, if you want to disable precaching then add workbox.injectionPoint = undefined (use object notation) in your PWA options.

@makamekm
Copy link
Author

makamekm commented Jan 9, 2024

This is the configuration. Do I miss something?
image

@userquin
Copy link
Member

userquin commented Jan 9, 2024

Can you provide a minimal reproduction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants