knowbox / yac-cache
There is no license information available for the latest version (v1.0.1) of this package.
yii2 yacCache extends
v1.0.1
2018-12-05 08:17 UTC
Requires
- php: >=7.1
- yiisoft/yii2: ^2.0
This package is auto-updated.
Last update: 2024-12-06 10:24:41 UTC
README
how to
modify config in file config/web.php
or config/console.php
'components' => [
'yac' => [
'class' => 'Knowbox\Libs\YacCache',
],
...
then you may use yac
cache on DB schemaCache
[
'class' => 'yii\db\Connection',
'charset' => 'utf8',
'enableSchemaCache' => true,
'schemaCacheDuration' => 3600,
'schemaCache' => 'yac',
...
or other things in yii2 way, follow the guide