Update cache.md

This commit is contained in:
huangzhhui 2019-05-24 15:37:46 +08:00
parent 1a1846ac3f
commit 75ae83b976

View File

@ -11,9 +11,9 @@ composer require hyperf/cache
| 配置 | 默认值 | 备注 |
|:------:|:----------------------------------------:|:---------------------:|
| driver | Hyperf\Cache\Driver\RedisDriver::class | 缓存驱动默认为Redis |
| packer | Hyperf\Utils\Packer\PhpSerializer::class | 打包器 |
| prefix | 'c:' | 缓存前缀 |
| driver | Hyperf\Cache\Driver\RedisDriver | 缓存驱动默认为Redis |
| packer | Hyperf\Utils\Packer\PhpSerializer | 打包器 |
| prefix | c: | 缓存前缀 |
```php
<?php