$config['cache']['enabled'] = true;
$config['cache']['cacheSessions'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
$config['cache']['frontendOptions'] = array(
'caching' => true,
'cache_id_prefix' => 'xfredis_',
'automatic_serialization' => false,
'lifetime' => 0
);
$config['cache']['backend'] = 'Redis';
$config['cache']['backendOptions'] = array(
'server' => '127.0.0.1',
'port' => 6379,
'connect_retries' => 2,
'use_lua' => true,
'compress_data' => 2,
'read_timeout' => 1,
'timeout' => 30,
);
require(XenForo_Application::getInstance()->getConfigDir().'/SV/RedisCache/Installer.php');