Developer Blog

  • Blog
  • /
  • Memcache driver for Cache Module
By Dracony on 7 April 2013

Memcache driver has been added to the Cache module. Here is how it’s configuration should look like:

1
2
3
4
5
6
7
8
9
10
11
12
13
return array(
    'default' => array(

        //Supprted drivers are: apc, database, file, xcache and memcache
        'driver' => 'memcache',

        //Memcached host for 'memcache' driver
        'memcached_host' => '127.0.0.1',

        //Memcached port for 'memcache' driver
        'memcached_port' => '11211',
    )
);
comments powered by Disqus