【增加】redis缓存前缀

This commit is contained in:
liqianjin 2023-02-22 10:16:25 +08:00
parent 1497d3f7a0
commit 6d182d2c5b
1 changed files with 17 additions and 1 deletions

View File

@ -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_',
],
// 更多的缓存连接
],