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.
sudo npm install -g har2appcache
it will output a appcache file on the terminal.
har2appcache yourfile.harGenerate a appcache file from a http archive oneOPTIONS:-h display inline help-cooked filter output with reasonable rulesHOW TO GET A HAR FILE:Step 1: go in chrome > devtools > networkStep 2: do "Copy ALL as HAR" or "Save as HAR with Content"