mirrored from git://git.moodle.org/moodle.git
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
/
caches.php
34 lines (33 loc) · 897 Bytes
/
caches.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
$definitions = array(
// Default cache for locking
'locking' => array(
'mode' => cache_store::MODE_APPLICATION,
'mappingsonly' => true,
),
'string' => array(
'mode' => cache_store::MODE_APPLICATION,
'component' => 'core',
'area' => 'string',
'persistent' => true,
'persistentmaxsize' => 3
),
'databasemeta' => array(
'mode' => cache_store::MODE_APPLICATION,
'requireidentifiers' => array(
'dbfamily'
),
'persistent' => true,
'persistentmaxsize' => 2
),
'config' => array(
'mode' => cache_store::MODE_APPLICATION,
'persistent' => true
),
// Event invalidation cache
'eventinvalidation' => array(
'mode' => cache_store::MODE_APPLICATION,
'persistent' => true,
'requiredataguarantee' => true
)
);