One common problem while working with service workers and contao is that you always have to register two serviceworkers. One for the frontend with scope "/" and one for the backend with scope "/contao" to ensure that the frontend service worker is not responsible for the backend and does not wait for opened backend tabs.
We could also combine this with an default offline page instead of showing the downasaur :)
One common problem while working with service workers and contao is that you always have to register two serviceworkers. One for the frontend with scope "/" and one for the backend with scope "/contao" to ensure that the frontend service worker is not responsible for the backend and does not wait for opened backend tabs.
We could also combine this with an default offline page instead of showing the downasaur :)