You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't really understand why we have this in the spec.
This causes trouble when redirection websites to new urls.
If you want to redirect some old-website to new-website, you'd think you just need to 301 redirect from old-website to new-website. The problem is that doing so the service-worker won't update and serve the cached content. The only solution found for now is to redirect everything from old-website except /service-worker.js that serves a custom service-worker that unregister the current service-worker.
Is there any other way to tackle the problem ?
The text was updated successfully, but these errors were encountered:
I don't really understand why we have this in the spec.
This causes trouble when redirection websites to new urls.
If you want to redirect some old-website to new-website, you'd think you just need to 301 redirect from old-website to new-website. The problem is that doing so the service-worker won't update and serve the cached content. The only solution found for now is to redirect everything from old-website except /service-worker.js that serves a custom service-worker that unregister the current service-worker.
Is there any other way to tackle the problem ?
The text was updated successfully, but these errors were encountered: