Skip to content

Instantly share code, notes, and snippets.

@designedbyscience
Last active December 14, 2015 02:39
Show Gist options
  • Save designedbyscience/5015062 to your computer and use it in GitHub Desktop.
Save designedbyscience/5015062 to your computer and use it in GitHub Desktop.
Bash command for building up a cache manifest with confess.js
for file in *.html; do phantomjs ~/path/toconfess.js http://localhost:8888/$file appcache ~/path/to/config.json >> manifest.cache;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment