Jerod Santo changelog.com/posts

Offline automatically displays online/offline indicators to your users

Offline is a cool little JavaScript library from HubSpot. The README says it:

  • Monitors ajax requests looking for failure
  • Confirms the connection status by requesting an image or fake resource
  • Automatically grabs ajax requests made while the connection is down and remakes them after the connection is restored.

The theme support makes it easy to contribute back to the project.


Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00