Simple demo about appcache and online/offline status of app