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.

Files for manifest_generator, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size manifest_generator-1.0.0.zip (9.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page