I've created an offline page using Service Workers so that when a user attempts to navigate to a page that is not cached, they will be served the offline page instead.
When on this page if the network connectivity returns, I'm trying to determine which is better UX:
- Automatically redirect the user to the page they originally requested.
- Provide a notification of some kind that the connection is available where they can click it or manually refresh to view the originally requested page.
I believe Option 1 is faster and more intuitive since it does not require input from the user. Option 2, however, keeps the user in control.
I know Chrome's "No Connection" page will automatically redirect, but I want some other opinions when it comes to the user remaining in my web app's experience even when disconnected.