Now, we will go to discuss Gmail like internet connection checking. Offline.js is a jquery plugin to check the internet and notify the connection status to the users like Gmail.
How it works:
- it makes the AJAX request to monitor the internet connection status.
- It confirm the connection status by requesting an image or fake resource
- it is automatically process ajax requests made while the connection is down and remakes them after the connection is restored.
- Light weight
- Beautiful themes
- custom configuration
Plugin url : https://github.com/HubSpot/offline