dever 6 年之前
父节点
当前提交
bad6045fc0
共有 1 个文件被更改,包括 16 次插入0 次删除
  1. 16 0
      config/env/localhost/default.php

+ 16 - 0
config/env/localhost/default.php

@@ -72,6 +72,22 @@ $config['cache'] = array
         'journal.code' => 0,
         'passport' => 0,
         'oauth' => 0,
+        'cron' => 0,
+        'combine' => 0,
+    ),
+
+    # 哪些路由中的参数不参与生成缓存的key
+    'routeNoParam' => array
+    (
+        'signature' => array
+        (
+            'content.home',
+            'content.news',
+            'content.up',
+            'content.ad',
+            'journal.home',
+            'journal.getList',
+        ),
     ),
     
     # 缓存清理的参数名,请通过shell=clearcache执行