Simple File Caching Script
August 6, 2010 2:24 pmOn a recent project, I needed a quick, easy and simple caching function for XML files, so whipped up this little function. The function is pretty straight forward to use as it only needs the URL of the file, the cache file location, and the amount of time to cache it for.