Cache: PHP data caching class
Charles (contact me)
This class can be used to cache arbitrary data in files.
It can check if a given cache file exists and is not expired. If so, it returns the cached data.
If the cache file is not valid, the class can store the data for an optionally period of time after which it expires.
The class can also explicitly invalidate a cache file by removing it if it exists.
Click here for detailed information about this class on phpclasses.org