Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Clear service worker cache and disable it #225

Open
zavelevsky opened this issue May 24, 2022 · 1 comment
Open

Clear service worker cache and disable it #225

zavelevsky opened this issue May 24, 2022 · 1 comment
Assignees

Comments

@zavelevsky
Copy link
Collaborator

it seems that the service worker in the landing page is caching the site - thus preventing us from switching to another home page by means of DNS.
We need to approach this carefully - and understand what's the correct way to update the service worker for existing users - with code that will change its caching strategy.
The end result is that new visitors will see a new home page (hosted in unbounce), returning user will get this old homepage, and then their cache will be cleared and they will be able to be redirected to the new site.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant