CacheManager can be used to cache arbitrary data in files.
It can check if the cache with a certain key already exists. If it exists and it is not expired, it can return the cached data. Otherwise it can store newly generated data in a cache file with the given key.
The script CacheManager can be configured to set the cache life time and the root directory of where all the cache files will be stored.