Skip to content

Do we need to add "cleanupOutdatedCaches: true" #122

Answered by raditzlawliet
muktihari asked this question in Q&A

You must be logged in to vote

Hmm... I check out the web is have max-cache: 600. And every time we build, it always re-generate file with new name. That's why it should be fine for usual web.

But currently we use PWA to make cache and can be access when offline.
I re-read again, we need to add them unless if we're using generateSW strategy.

Try that options manually set true.
I also read something about background sync configuration, may can help https://vite-pwa-org.netlify.app/workbox/generate-sw

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@muktihari

muktihari Oct 4, 2024
Maintainer Author

Answer selected by muktihari
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants