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
We should also specify the ServiceWorker.navigateFallbackURL, which instructs the service worker to redirect any non-cached navigation request to the specified route.
Previously, to achieve the same effect, ServiceWorker.navigateFallbackURL and AppCache.FALLBACK option had to be used. ServiceWorker.navigateFallbackURL is now deprecated and shouldn't be used at all. Instead, appShell should be used.
I'm not entirely sure what the correct documentation would be, but given that the SPA one is older I assume it's the outdated one. Since it is the first and only linked example from the README.md, this can lead people astray.
The text was updated successfully, but these errors were encountered:
But as much as I'd like to help out, I'm afraid I can't in practice, since the issue is about documentation for changes in the code and API that I don't know about because it's not consistently documented :P
https://github.com/NekR/offline-plugin/blob/master/docs/examples/SPA.md
https://github.com/NekR/offline-plugin/blob/master/docs/app-shell.md
I'm not entirely sure what the correct documentation would be, but given that the SPA one is older I assume it's the outdated one. Since it is the first and only linked example from the README.md, this can lead people astray.
The text was updated successfully, but these errors were encountered: