[Vuejs]-Completely forcing a SPA refresh, ignoring cache, service workers and so on

0👍

Not knowing the capabilities of remote debugging on your phone assuming you can inject js to run on it using the dev tools you could unregister the service worker using something like:

navigator.serviceWorker.getRegistrations().then(function(registrations) {
 for(let registration of registrations) {
  registration.unregister()
} })

Please note credits go to: https://stackoverflow.com/a/33705250/966530

Leave a comment