mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
增强请求缓存功能 支持全局配置 增加request_cache配置参数 增加特殊缓存规则定义 如果同一次请求存在多次请求缓存调用 则第一次有效
This commit is contained in:
@@ -115,6 +115,8 @@ class App
|
||||
// 进行URL路由检测
|
||||
$dispatch = self::routeCheck($request, $config);
|
||||
}
|
||||
// 请求缓存检查
|
||||
$request->cache($config['request_cache']);
|
||||
// 记录当前调度信息
|
||||
$request->dispatch($dispatch);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user