knowbox/yac-cache

There is no license information available for the latest version (v1.0.1) of this package.

yii2 yacCache extends

Maintainers

👁 php-cpm

Package info

github.com/php-cpm/knowbox-yac-cache

pkg:composer/knowbox/yac-cache

Statistics

Installs: 10

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.0.1 2018-12-05 08:17 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Unknown License d7223984887e52f58c77ec31de22a1a32b1ecf49

  • zouyi <zouyi.woop@knowbox.cn>

This package is auto-updated.

Last update: 2026-06-06 13:51:48 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