$config['cache']['enabled'] = true;
$config['cache']['namespace'] = 'xfaredis';
$config['cache']['provider'] = 'SV\RedisCache\Redis';
$config['cache']['config'] = [
'host' => '127.0.0.1',
'port' => 6479,
'database' => 2,
'compress_data' => 6,
'serializer' => 'igbinary',
'use_lua' => true,
'read_timeout' => 1,
'timeout' => 1,
'lifetimelimit' => 2592000,
'compress_threshold' => 20480,
'persistent' => true
];
$config['cache']['sessions'] = true;
$config['pageCache']['enabled'] = true;
$config['pageCache']['lifetime'] = 900;
$config['pageCache']['recordSessionActivity'] = true;
$config['cache']['context']['page']['namespace'] = 'xfaredispagecache';
$config['cache']['context']['page']['provider'] = 'SV\RedisCache\Redis';
$config['cache']['context']['page']['config'] = [
'host' => '127.0.0.1',
'port' => 6480,
'database' => 4,
'compress_data' => 6,
'serializer' => 'igbinary',
'use_lua' => true,
'read_timeout' => 1,
'timeout' => 1,
'lifetimelimit' => 2592000,
'compress_threshold' => 20480,
'persistent' => true
];
$config['css']['enabled'] = true;
$config['cache']['context']['css']['provider'] = 'Redis';
$config['cache']['context']['css']['namespace'] = 'xfarediscsscache_';
$config['cache']['context']['css']['config'] = [
'host' => '127.0.0.1',
'port' => 6479,
'serializer' => 'igbinary',
'database' => 7,
'timeout' => 1,
'persistent' => true
];