Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"gatsby-plugin-remove-serviceworker" doesn't seem to have removed serviceworker on some devices #31964

Closed
rubenesque-code opened this issue Jun 17, 2021 · 0 comments

Comments

@rubenesque-code
Copy link

rubenesque-code commented Jun 17, 2021

Site: amyrodrgiuez.art

Info:

  • ran into the StaticQuery issue Error: The result of this StaticQuery could not be fetched. #24902. This 'froze' my site on landing page.
  • removed the offending StaticQuery from my site
  • site was still stuck though, I think because the StaticQuery bug was on the landing page and so couldn't get the prompt to update i had in a onServiceWorkerUpdateReady
  • uninstalled gatsby-plugin-offline and installed gatsby-plugin-remove-serviceworker, making sure to change config
  • seemed to solve issue on most devices I'm testing on. However, some mobile phones still 'stuck'
  • this StaticQuery was definitely the source of this issue on the devices that are still stuck

I'm hoping there's some other way to force browsers to update, and would greatly appreciate any direction.

Gatsby config flags:
FAST_DEV: true, PRESERVE_WEBPACK_CACHE: true, PRESERVE_FILE_DOWNLOAD_CACHE: true, DEV_SSR: false

System:
OS: Linux 5.8 Ubuntu 20.04.2 LTS (Focal Fossa)
CPU: (4) x64 Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
Shell: 5.8 - /usr/bin/zsh
Binaries:
Node: 12.18.3 - ~/.nvm/versions/node/v12.18.3/bin/node
Yarn: 1.22.10 - ~/.nvm/versions/node/v12.18.3/bin/yarn
npm: 6.14.10 - ~/.nvm/versions/node/v12.18.3/bin/npm
Browsers:
Chrome: 91.0.4472.106
Firefox: 89.0
npmGlobalPackages:
gatsby-cli: 3.5.0

@rubenesque-code rubenesque-code added the type: bug An issue or pull request relating to a bug in Gatsby label Jun 17, 2021
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 17, 2021
@LekoArts LekoArts removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer type: bug An issue or pull request relating to a bug in Gatsby labels Jun 17, 2021
@gatsbyjs gatsbyjs locked and limited conversation to collaborators Jun 17, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants