Включено кэширование в redis

This commit is contained in:
ErickSkrauch 2016-09-05 17:56:03 +03:00
parent e8b5e90a91
commit 198e440b8d

View File

@ -3,7 +3,8 @@ return [
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor', 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'components' => [ 'components' => [
'cache' => [ 'cache' => [
'class' => yii\caching\FileCache::class, 'class' => yii\redis\Cache::class,
'redis' => 'redis',
], ],
'db' => [ 'db' => [
'class' => yii\db\Connection::class, 'class' => yii\db\Connection::class,