Sounds great!
Though keep in mind that this particular function, URLDownloadToCacheFile, under certain conditions may return existing cache file instead of reading data from the url -- if I'm not mistaken.
In any case I suggest careful testing; also the caching can be turned off within url resource.