Joaquín Sánchez

Results 1398 comments of Joaquín Sánchez

> And one last question for some reason `fonts.css` doesn't get cached under runtime cache `fonts` Runtime caching will not include any resource in first navigation, it will be included...

@ad1992 you can exclude it using `workbox.globIgnore` option About moving your locale files: check this https://rollupjs.org/configuration-options/#output-manualchunks, there is a similar example. ```ts // vite.config.ts build: { rollupOptions: { output: {...

@ad1992 I've notice you're using auto register without any virtual (registerSW.js), the app will not update until next navigation when a new version found (open app in a new browser...

> thats right I am using auto register right now without virtual module. We store the data in local storage. One concern when using automatic reload is if this could...

A few months/years ago I added the pwa with automatic reload to Layout It: https://github.com/Leniolabs/layoutit-grid/blob/main/src/App.vue

It seems it is working because the browser is caching the locale for en, check the first visit (using es), then switch to offline and refresh page will switch to...

I'll try to fix it with a simple repro test.

@ad1992 can you update to latest vite-plugin-pwa? you're using 0.14.7 and we've 0.16.4, also remove all workbox-** from dependencies (maybe you need to add `workbox-build ^7.0.0` in devDependencies).

@ad1992 I guess we also need to remove locales from sw precache, I mean, since it has a custom cache we should include the pattern in the `deny list`. Here...