Joaquín Sánchez
Joaquín Sánchez
don't merge yet, we're going to change a few things to simplify the logic
The network handler cannot create the cache and serve the html at the same time, you can visit the page, await sw is activated (sw green in the devtools), then...
You can open network tab at devtools and visit the page, you should see if the html being requested
Network first is the same as network only when online. Try disabling network and refresh the page. Once the cache is created, on next visits the html pages responses will...
With `registerType: 'autoUpdate'` at pwa options and using any virtual pwa module in your client: https://vite-pwa-org.netlify.app/guide/auto-update.html
> cc: [@pi0](https://github.com/pi0) - what do you think? @danielroe You have the patch for http2 headers and the http2 preset in my private repo (vite-ssg + md3 experiment repo), ping...
We need to change the local tinyglobby tgz copy with pkg-pr-new from this PR (in a few minutes I'll send an update ✔️ done): https://github.com/SuperchupuDev/tinyglobby/pull/168 and once released 🤞 just...
@antfu any chance to add pkg-pr-new in the repo? I can send a PR to add it, I only need pkg-pr-new installed, oh wait, this is unplugin, it should be...
I'm going to remove tinyglobby here and use picomatch + fsdir directly
> Fresh page loads/refreshes/new tabs: Auto-update silently (no prompt) This works, but using a hard refresh, that's the browser behavior, if the browser in a page refresh doesn't activate the...