【增加】redis缓存前缀
This commit is contained in:
parent
1497d3f7a0
commit
6d182d2c5b
|
|
@ -35,7 +35,23 @@ return [
|
|||
// 缓存有效期 0表示永久缓存
|
||||
'expire' => 604800,
|
||||
// 缓存标签前缀
|
||||
'tag_prefix' => 'miaogou_cdlfjy_com_',
|
||||
'tag_prefix' => 'teg:',
|
||||
'prefix' => 'miaogou_cdlfjy_com_cache_',
|
||||
],
|
||||
// redis缓存 并发处理
|
||||
'redis_concurrent' => [
|
||||
// 驱动方式
|
||||
'type' => 'redis',
|
||||
// 服务器地址
|
||||
'host' => '127.0.0.1',
|
||||
// redis密码
|
||||
'password' => '',
|
||||
//选择Db区块
|
||||
'select' => 9,
|
||||
// 缓存有效期 0表示永久缓存
|
||||
'expire' => 0,
|
||||
// 缓存标签前缀
|
||||
'prefix' => 'miaogou_cdlfjy_com_concurrent_',
|
||||
],
|
||||
// 更多的缓存连接
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue