Commit 2f90e4d9 by Alexander Makarov

Fixes #4184: mentioned a safer way of using dummy cache that works in case of…

Fixes #4184: mentioned a safer way of using dummy cache that works in case of merging configs of advanced app
parent 57f3cc01
......@@ -68,6 +68,14 @@ For example, you can modify the above configuration to use [[yii\caching\ApcCach
],
```
Or dummy cache that can be used to remove caching without modifying any code:
```php
'components' => [
'cache' => new yii\caching\DummyCache,
],
```
> Tip: You can register multiple cache application components. The component named `cache` is used
by default by many cache-dependent classes (e.g. [[yii\web\UrlManager]]).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment