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 details)

Uploaded Source

File details

Details for the file manifest_generator-1.0.0.zip.

File metadata

File hashes

Hashes for manifest_generator-1.0.0.zip
Algorithm Hash digest
SHA256 9dc440350b7b1fd8f4c6b9b5064aa36bbbe3a26a56cd63652d0d80f9a27c54c3
MD5 4e2f87200a4f16df4ae34a38ce1f2425
BLAKE2b-256 9ea095b23957f9c413e97a71c6b209c39e0ab657237f821bc5a91a3a49cae548

See more details on using hashes here.

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