generate a appcache file from a http archive/HAR one
Want to see pretty graphs? Log in now!
npm install har2appcache
|11||downloads in the last week|
|22||downloads in the last month|
|Version||0.0.4 last updated a year ago|
generate a appcache file from a HTTP Archive file.har.
It extracts all the requests's urls made by your page and build the appcache file with it.
So you get all the requests even the dynamic ones like
It is more robust than the usual appcache builders which are based on DOM parsing.
How To Install
sudo npm install -g har2appcache
How To Use
it will output a appcache file on the terminal.
CACHE MANIFEST CACHE: index.html images/star.png NETWORK: *
har2appcache yourfile.har Generate a appcache file from a http archive one OPTIONS: -h display inline help -cooked filter output with reasonable rules HOW TO GET A HAR FILE: Step 1: go in chrome > devtools > network Step 2: do "Copy ALL as HAR" or "Save as HAR with Content"