Hi,
I am trying to configure schema caching for mySQL into FileCache, but it’s not working.
No cache files created, only 1 cache file for UrlManager is there always created.
Here is my DB config:
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=mysite',
'username' => 'root',
'password' => 'mypass123',
'charset' => 'utf8',
'schemaCacheDuration' => 3600*24, // cache DB schemas for 1 day
'enableSchemaCache' => true,
'schemaCache' => 'yii\caching\FileCache',
];
What am I doing wrong?