Too many files loaded on first Load #763
Unanswered
ekaterina4952
asked this question in
Q&A
Replies: 1 comment 7 replies
-
This is required to allow run the app when offline: workbox build will add all your dist folder assets using You can inspect the sw.js (the default service worker name) file created in the dist/build output folder at build time. workbox runtime modules used in your service worker will download those assets 1 by 1 to avoid network bottleneck and so your app will still work while the service worker downloading and storing app assets in the cache storage. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm using vite-plugin-pwa, and while it works great overall, I've noticed the initial page load is quite slow, taking around 2-3 seconds.
From my logs, it looks like the first page load is pulling over 100 files. I guess I might have missed a specific configuration. Any ideas or suggestions on how to resolve?
Beta Was this translation helpful? Give feedback.
All reactions