Each new deploy requires hard refresh on clients

Hello all,

Has anyone else ever had an issue with deployed websites not updating on the client without a hard refresh? No matter how much refreshing you do, my website never loads properly after a new deploy is published.

My stack: Vite + Vue3 + Vite PWA w/ServiceWorker

I turned off prerendering but that didn’t seem to resolve it. I’ve also combed through articles like this one: International Service Worker Caching Awareness Day

But I can’t seem to solve this problem. Here’s the repository: GitHub - KenEucker/biketag-vue: A vue app for the biketag game.

Thank you in advance for your help,

Hey @keneucker

My guess is the Service Worker is the culprit.