A lightweight php caching class, massive rewrite of cosenary's cache class (link) Supported caches : filesystem Used for instance in FeatherBB
- PHP 5.3
##v.1.0
- Code rewrite : settings storage, internal cache handling
- Add increment, decrement functions
$cache = new Cache(array('name' => 'filecache',
'path' => 'cache/',
'extension' => '.cache'));
$cache->store('user', array(info));
$cache->retrieve('user');
// Overwrite
$cache->store('user', array(info2));
// Get settings
$cache->getSettings();
// Purge cache
$cache->flush();
Thanks to cosenary for parts of the code logic