Skip to main content

A utility to smartly generate an HTML5 application cache manifest

Project description

This package contains a utility to generate the HTML5 application cache manifest file. Running it multiple times only changes the manifest if the manifest contents or contents of files listed in the cache change.


Requires
--------
glob2 - https://github.com/miracle2k/python-glob2/


Usage
-----

some exaples:

manifest_gen --output cache.manifest --cache "js/**/*.js" --cache "css/**/*" --nocache dontcache.js --network counter.html --fallback fallback.html

manifest_gen -o cache.manifest -c "js/**/*.js" -c "css/**/*" -nc dontcache.js -n counter.html -f fallback.html

manifest_gen -h

manifest_gen --doc_root C:/Users/p20/projects/rc_flug_log_client/android/workspace/rc_flug_log_phonegap/assets/www --cache "C:/Users/p20/projects/rc_flug_log_client/android/workspace/rc_flug_log_phonegap/assets/www/**/*" --url /static/mobile


Tests
-----
To run the unit tests (python >= 2.7):
python -m unittest discover

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

manifest_generator-1.0.0.zip (9.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page