What you are using to build your app? If you are using Vite, it adds a hash to the filenames so the cache gets busted on new builds. The only file that the browser would cache would be the index.html
which you could configure the cache TTL on your server or set index.html
to never cache like Cache-Control: no-store
.
You could also implement something that alerts the user they are running an older version and need to refresh to load the most recent.