Merge branch 'MDL-52346' of git://github.com/mr-russ/moodle
[moodle.git] / lib / db / caches.php
index 840be97..b5022cb 100644 (file)
@@ -259,6 +259,14 @@ $definitions = array(
     'tags' => array(
         'mode' => cache_store::MODE_REQUEST,
         'simplekeys' => true,
-    )
+    ),
+
+    // Caches search results.
+    'search_results' => array(
+        'mode' => cache_store::MODE_SESSION,
+        'simplekeys' => true,
+        'staticacceleration' => true,
+        'staticaccelerationsize' => 3
+    ),
 
 );