|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 63 ||All time: 10,324 This week: 177|
This package can save and load variable values in cache containers.
It provides several classes to save values of variables in different types of storage containers implemented by separate classes.
Currently, it supports containers like files, Redis, or Memcached servers.
The cached data is associated with a given key string.
The cached data may remain valid for a given period of time.
If the cached data is still valid, the storage container classes may retrieve the cached value associated with the given cache key.
$object = [1,2,3,4];
$cache = new \BABA\Cache\Cache(new \BABA\Cache\Drivers\Disk(), 3600 * 24);
Simple framework for store php json serialized objects in cache. Supports Redis, Memcached, Disk.
Samples are provided in folder samples.
For unix socket in Memcached and Redis driver use [ 'sock' = file ] as $params in driver constructor.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.