size: 62313 bytes
CHI provides a unified caching API, designed to assist a developer in persisting data for a specified period of time. It is intended as an evolution of DeWitt Clinton's Cache::Cache package, adhering to the basic Cache API but adding new features and addressing limitations in the Cache::Cache implementation.
You might think of it as a fledgling "DBI for caching".
Driver classes already exist for in-process memory, plain files, memory mapped files and memcached. Other drivers such as BerkeleyDB and DBI will be coming soon. Fortunately, implementing drivers is fairly easy, on the order of creating a TIE interface to your data store.
Special thanks to the Hearst Digital Media group, where CHI was first designed and developed, for blessing the open source release of this code.
There's lots more in store for this module, so stay tuned! Feedback welcome here or on the Perl cache mailing list.