Floren
Well-known member
Hi,
I was wondering what is the proper configuration for Libmemcached. Right now everything works proper, except that I cannot cache the sessions. This is what I have setup as options, in one of my development servers:
Thanks for your help.
I was wondering what is the proper configuration for Libmemcached. Right now everything works proper, except that I cannot cache the sessions. This is what I have setup as options, in one of my development servers:
Code:
$config['cache']['enabled'] = true;
$config['cache']['cacheSessions'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array(
'caching' => true,
'cache_id_prefix' => 'xf_',
'automatic_serialization' => true,
'lifetime' => 0
);
$config['cache']['backend'] = 'Libmemcached';
$config['cache']['backendOptions'] = array(
'servers' => array(
array(
'host' => '127.0.0.1',
'port' => 11211,
'weight' => 1
)
)
);
Thanks for your help.