RSSAmplifier

Main feed (en) · May 26, 2022

PWA: Detecting redirects in service workers

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Why do you need to detect redirects in a PWA page? Well a PWA is established on a specific domain. You might need to redirect to a new domain at some point. You can easily do it server side with simple commands, but as PWA is cached in a specific way it will remain on the old domain. PWA will not be able to do calls to redirected API because of CORS. And it might never move on because when your…

Read on enux.pl

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.