🐛 Allowing service worker to cache files up to 5mb - fixes edge & offline mode (#4665)

* allowing sw to cache files up to 5mb

* release notes
This commit is contained in:
Michael Clark
2025-03-19 23:14:58 +00:00
committed by GitHub
parent e0bddaeb99
commit b2cca2337c
2 changed files with 7 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ export default defineConfig(async ({ mode }) => {
],
ignoreURLParametersMatching: [/^v$/],
navigateFallback: '/index.html',
maximumFileSizeToCacheInBytes: 5 * 1024 * 1024, // 5MB
navigateFallbackDenylist: [
/^\/account\/.*$/,
/^\/admin\/.*$/,