Refresh of Website on Chrome iOS doesn't work, must kill the app + restart

My site can be found here:
Its a react app published from a github repo.

I do not know if this is a general problem with Chrome iOS, if there is something specific to my app, or if this is just a noob question. The flow is as follows:

  • deploy version 1 of the website
  • using chrome iOS load the website and use normally
  • deploy version 2 of the website
  • use both the browser pull to refresh + the refresh button in the app
  • version 1 is still used, and version 2 is not loaded with the fixes
  • kill the app and restart
  • version 2 loads immediately

There might be some configuration in netlify I need to set, but I figured I would add a topic about it in case there are others experiencing a similar issue.

hi there dmueller, first question - does this problem occur when you try loading the site locally?

I assume that “locally” means:

In which case no, it does not appear to happen. The newly deployed assets are loaded as expected.

Hi, @dmueller39. I suspect the issue has to do with the service worker your site installs. Would you please see if the support guide below helps explain the issue?

If there are other questions after reading that, please let us know.

Thanks! I believe this is the issue. Chrome iOS doesn’t seem to have the options to kill a service worker, but the page was correctly refreshed after waiting 24 hours as mentioned in the support guide.

1 Like