@@ -116,13 +116,13 @@ $config['cache'] = array
# 启用页面缓存 会根据当前的url来生成缓存,相当于页面静态化。
'html' => 0,
# 启用数据级别缓存 这个缓存是程序员自定义的:Dever::cache('name', 'value', 3600);
- 'data' => 7200,
+ 'data' => 1800,
# 启用load加载器缓存,一般不加载
'load' => 0,
# 启用load加载器的远程加载缓存
'curl' => 0,
# 启用路由缓存
- 'route' => 7200,
+ 'route' => 1800,
# 缓存精细控制,根据uri来控制,0则无需缓存
'routeKey' => array
@@ -150,6 +150,9 @@ $config['cache'] = array
'tests_api.user' => 0,
'tests_api.buy' => 0,
'stat_' => 0,
+ 'buy_' => 0,
+ 'order_' => 0,
+ 'pay_' => 0,
),
# 哪些路由中的参数不参与生成缓存的key
@@ -51,7 +51,7 @@ return array
'col' => 'username',
'result' => 'id',
- //'update' => 'text',
+ 'update' => 'text',
'mobile' => array
@@ -64,6 +64,7 @@ return array
//'show' => 'status=5'
'search' => 'fulltext',
'list' => true,
'start' => array
@@ -97,7 +98,7 @@ return array
'default' => '1',
'desc' => '小刊分类',
'match' => 'is_numeric',
- //'update' => 'select',
+ 'update' => 'select',
'option' => $cate,
//'search' => 'select',