From bef0eebaedc791c566f09766c3f877e28fb3f732 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 1 Nov 2016 17:57:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=AF=B7=E6=B1=82=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E8=87=AA=E5=8A=A8=E6=A3=80=E6=9F=A5=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/App.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/think/App.php b/library/think/App.php index aed3327e..93d9ef6f 100644 --- a/library/think/App.php +++ b/library/think/App.php @@ -115,8 +115,6 @@ class App // 进行URL路由检测 $dispatch = self::routeCheck($request, $config); } - // 请求缓存检查 - $request->cache($config['request_cache']); // 记录当前调度信息 $request->dispatch($dispatch); @@ -129,6 +127,8 @@ class App // 监听app_begin Hook::listen('app_begin', $dispatch); + // 请求缓存检查 + $request->cache($config['request_cache']); switch ($dispatch['type']) { case 'redirect':