How To Implement

To create an offline web application, you will have to create a “Manifest” file which contains the paths to resources which you want to make available offline.

The resources would include:

  • CSS files
  • Javascript Files
  • URL's to pages that needs to be cached

Steps:

  1. Create Manifest file
  2. Include all the resources that needs to be cached, including url paths for pages that needs to be available
  3. Add Manifest attribute to html tag with path to the Manifest file
  4. Use Javascript to check application status with 'navigator.onLine' and add logic as required

 

Last edited Sep 15, 2014 at 3:00 PM by thechadc, version 4