By calling the example URL below my Java servlet caches one file at a time (with corresponding "filekey").
http://www.example.org/JavaServlet?fileKey=phAwcNAxsdfajsdoj&action=cache
Now I have 200 files I'd like to cache ... Instead of calling all these URLs manually I'd like to use fopen, curl or something else to automatically go through all these calls. Every call takes 3-8 seconds so the script has to wait until the previous call has returned the "cache read message" or do concurrent calls.
Any ideas of how these dynamic URLs can be read automatically?
Thanks.