chrisben
chrisben
@jamminjames What I meant with the GET request is the request the browser makes to download then display an image set via an img tag. On page load, in javascript,...
Just iterate over all your images and call `cacheFile` for each one. Up to you then to keep in memory the array of DOM elements/urls you have stored in the...
Have you followed the steps in CORDOVA.md ? Do you have File Transfer plugin installed? Are you allowed to download the remote file from your computer? What kind of url...
I haven't seen jBenes' version, but in your case it's just a matter of calling isCached before cacheFile. I try to keep this plugin relatively low level because many people...
I guess we could dowload images into temp files, and rename/move them only once dowload completes. That would solve this problem I guess. I will have a look into this...
Thanks for testing this solution out. So by using the on_progress callback, did you manage to find out when the download has completed in the end? To know which file...
Ok, I see what you mean now. I thought you were talking about your code that calls the function where you can use closure to get back your variables once...
@piciuriello any news on that?
First time I hear of nwjs. It's not supported, so your mileage may vary.. but please do post your results/findings/workarounds here, that could help other people using this tool.
You could modify [line 681](https://github.com/chrisben/imgcache.js/blob/master/js/imgcache.js#L681) to pass the fileTransfer object along with the progress. Would that be enough for you?