feat(cache): set default cache prefix to 'EA8TP'
To prevent cache data residuals between different versions, the default cache prefix has been changed from an empty string to 'EA8TP'. This ensures each version's cache is distinctly separated. BREAKING CHANGE: The cache prefix 'EA8TP' is now used by default. If your application depends on the default cache prefix being empty, you will need to explicitly set the prefix to an empty string.
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | 缓存设置
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
return [
|
||||
// 默认缓存驱动
|
||||
'default' => 'file',
|
||||
@@ -16,7 +15,7 @@ return [
|
||||
// 缓存保存目录
|
||||
'path' => '',
|
||||
// 缓存前缀
|
||||
'prefix' => '',
|
||||
'prefix' => 'EA8TP', // 主要是为了区分不同版本安装后数据的残留
|
||||
// 缓存有效期 0表示永久缓存
|
||||
'expire' => 0,
|
||||
// 缓存标签前缀
|
||||
|
||||
Reference in New Issue
Block a user