全局请求缓存添加排除规则 添加request_cache_except配置参数

This commit is contained in:
thinkphp
2017-01-26 20:38:22 +08:00
parent 13c7eb8452
commit 79fb229181
3 changed files with 11 additions and 3 deletions

View File

@@ -107,6 +107,8 @@ return [
'request_cache' => false,
// 请求缓存有效期
'request_cache_expire' => null,
// 全局请求缓存排除规则
'request_cache_except' => [],
// +----------------------------------------------------------------------
// | 模板设置