This package contains a cache mechanism that relies on the Memcached database. For this cache to work, the memcached Pecl package must be enabled.

2.0.x-dev 2015-01-08 13:32 UTC

This package is auto-updated.

Last update: 2024-05-15 04:04:45 UTC


This package contains an implementation of Mouf's CacheInterface for Memcache, using the memcached pecl package. To learn more about the cache interface, please see the cache system documentation.

This package comes with a default installer that will create a "memcacheCacheService" instance that points to a Memcache server on listening on port 11211.

To use it:

Mouf::getMemcacheCacheService()->set('mykey', 'myvalue');

$mykey = Mouf::getMemcacheCacheService()->get('mykey');