mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
增加request_cache_expire配置参数用于配置全局的请求缓存有效期
This commit is contained in:
@@ -128,7 +128,7 @@ class App
|
||||
// 监听app_begin
|
||||
Hook::listen('app_begin', $dispatch);
|
||||
// 请求缓存检查
|
||||
$request->cache($config['request_cache']);
|
||||
$request->cache($config['request_cache'], $config['request_cache_expire']);
|
||||
|
||||
switch ($dispatch['type']) {
|
||||
case 'redirect':
|
||||
|
||||
Reference in New Issue
Block a user