Offline detection & load enhancements #35

Closed
opened 2020-11-10 13:23:38 +00:00 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 2020-11-10 13:23:38 +00:00
garrettmills added the Deployed to: Staging label 2020-11-16 03:03:04 +00:00
garrettmills added the Deployed to: Production label 2020-11-16 03:21:33 +00:00
Sign in to join this conversation.