XF 2.0 Defining a Cache

Opcache systems just run and work automatically. They don’t require any configuration.

That’s not what these cache providers are for. They’re for caching sessions and certain data caches, and that concept really hasn’t changed since XF1.

The cache providers listed are the ones we’d recommend.
 
What 'password' need put here For Redis?

Code:
$config['cache']['enabled'] = true;
$config['cache']['provider'] = 'Redis';
$config['cache']['config'] = [
    'host' => '127.0.0.1',
    'password' => 'password'
];
 
You can remove it if there isn’t one. Otherwise it would be whatever password you configured in Redis.

I have not configured Redis password, Its cPanel installed. So its will be after remove the password?

Code:
$config['cache']['enabled'] = true;
$config['cache']['provider'] = 'Redis';
$config['cache']['config'] = [
    'host' => '127.0.0.1',
];

zk3QQX8uT-eM9GDDMp4Nrg.png
 
I have not configured Redis password, Its cPanel installed. So its will be after remove the password?

Code:
$config['cache']['enabled'] = true;
$config['cache']['provider'] = 'Redis';
$config['cache']['config'] = [
    'host' => '127.0.0.1',
];

zk3QQX8uT-eM9GDDMp4Nrg.png
The "," (comma) after 127.0.0.1 should be remove right?
 
Top Bottom