Offline detection & load enhancements #35

Closed
opened 4 years ago by garrettmills · 0 comments
Owner

When the server was down for a bit, I noticed that the PWA wouldn't load properly when we have network access, but not server access because it would error when trying to load /stat and /version.html with the ?ngsw-bypass.

These calls need to be wrapped in try-catch and we need to make the following offline enhancements:

  • Add interval which checks for online access to the server itself and sets online or offline mode accordingly
  • Wrap calls in try-catch
  • make sure can load when server is down but not network
When the server was down for a bit, I noticed that the PWA wouldn't load properly when we have network access, but not server access because it would error when trying to load `/stat` and `/version.html` with the `?ngsw-bypass`. These calls need to be wrapped in try-catch and we need to make the following offline enhancements: * Add interval which checks for online access to the server itself and sets online or offline mode accordingly * Wrap calls in try-catch * make sure can load when server is down but not network
garrettmills added the Bug label 4 years ago
garrettmills added the Deployed to: Staging label 4 years ago
garrettmills added the Deployed to: Production label 4 years ago
garrettmills closed this issue 4 years ago
Sign in to join this conversation.
Loading…
There is no content yet.