浏览代码

Add partial cache config

Daniel Supernault 7 年之前
父节点
当前提交
950fddf9e3
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. 17 0
      config/partialcache.php

+ 17 - 0
config/partialcache.php

@@ -0,0 +1,17 @@
+<?php
+
+return [
+
+    // Enable or disable partialcache alltogether
+    'enabled' => true,
+
+    // The name of the blade directive to register
+    'directive' => 'cache',
+
+    // The base key that used for cache items
+    'key' => 'partialcache',
+
+    // The default cache duration in minutes, set null to remember forever 
+    'default_duration' => null
+
+];