Cache DBA
This class can store and retrieve cache data from flat file databases. It uses the database (dbm-style) abstraction layer to cache your objects, strings, integers or arrays. Even instances of SimpleXMLElement can be put to the cache. It takes a given object and stores its serialized information as a string of data in flat file database using the DBA extension. The class can also retrieve and unserialize the previously stored object from the cache database file if the cache file exists and it did not expire. It can also delete existing cache entries explicitly. A separate class exists to automatically delete all expired cache database entries.