Skip to content

Force refresh after a new version update #15124

Discussion options

You must be logged in to vote

Where should I create this file? in the reply I saw this folder: src/pwa/register-service-worker.js (src/pwa), in the site I saw this: src-pwa/register-service-worker.js (src-pwa), which is the right path?

src/pwa was a typo, you already should have a file called src-pwa/register-service-worker.js, so use it, that's the correct file.

Also, in the site I saw this:
...

https://quasar.dev/quasar-cli-webpack/developing-pwa/handling-service-worker#ssl-certificate

You may notice in some dev environments, that Workbox will not load your service workers during quasar dev if you are not using HTTPS to serve - even on localhost.

It says some, not all. So, if HTTP works for you in your local e…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@AmosSzust
Comment options

@yusufkandemir
Comment options

@AmosSzust
Comment options

@yusufkandemir
Comment options

@AmosSzust
Comment options

Answer selected by AmosSzust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants