Redis
XCache
Memcache
PHP:
$config['Optimise']['redisServers'] = array(
array('host' => '127.0.0.1', 'port' => 6379),
);
$config['Optimise']['redisMaxDelay'] = 10; // is slave server is out of sync by more than this many seconds, switch to master
$config['Optimise']['redisTimeout'] = 3; // if redis server doesn't respond in this many seconds, disconnect
$config['Optimise']['redisRetry'] = 100; // retry connection in this many milliseconds
XCache
PHP:
$config['Optimise']['xcacheUsername'] = ''; // Your XCache Admin Auth Username
$config['Optimise']['xcachePassword'] =''; // Your XCache Admin Auth Password
Memcache
PHP:
$config['Optimise']['memcacheServers'] = array(
array('host' => '127.0.0.1', 'port' => 11211, 'persistent' => true, 'weight' => 1, 'timeout' => 1, 'retry_interval' => 15)
);
Last edited: