Refresh PWA after code update

  • Hi,
    When I update my Quasar PWA application code on the server, the server worker seems doing its job of getting the new updates :

    But the new files are only uploaded in a -temp cache and the PWA app is not updated:


    I’ve tried to call window.location.reload(true) but this didn’t work.
    The only solution I have is to clear the cache and load the app again.

    What is the right way to refresh the Quasar PWA app after an update?

    Thank you!

    skipWaiting: true seems to solve the problem
    workboxOptions: {
    skipWaiting: true

    I’m trying to understand more:

Log in to reply