Skip to content

Instantly share code, notes, and snippets.

@glynrob
Created February 9, 2013 19:20
Show Gist options
  • Save glynrob/4746666 to your computer and use it in GitHub Desktop.
Save glynrob/4746666 to your computer and use it in GitHub Desktop.
Example manifest file
CACHE MANIFEST
# 2013-02-08:v1
# list all resources that are to be cached
CACHE:
index.html
working.html
default.css
images/me.png
custom.js
# list all resources that require internet connection
NETWORK:
# Could list individul pages to require to be online here if you wished ie: notavailable.html
# list all fallback resources for anything that requires an internet connection
FALLBACK:
images/online.jpg images/offline.jpg
notavailable.html offline.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment