Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
// This file is part of Moodle - http://moodle.org/
3
//
4
// Moodle is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8
//
9
// Moodle is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
// GNU General Public License for more details.
13
//
14
// You should have received a copy of the GNU General Public License
15
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
16
 
17
/**
18
 * Core cache definitions.
19
 *
20
 * This file is part of Moodle's cache API, affectionately called MUC.
21
 * It contains the components that are requried in order to use caching.
22
 *
23
 * @package    core
24
 * @category   cache
25
 * @copyright  2012 Sam Hemelryk
26
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
27
 */
28
 
1441 ariadna 29
defined('MOODLE_INTERNAL') || die();
30
 
1 efrain 31
$definitions = array(
32
 
33
    // Used to store processed lang files.
34
    // The keys used are the revision, lang and component of the string file.
35
    // The static acceleration size has been based upon student access of the site.
36
    'string' => array(
37
        'mode' => cache_store::MODE_APPLICATION,
38
        'simplekeys' => true,
39
        'simpledata' => true,
40
        'staticacceleration' => true,
41
        'staticaccelerationsize' => 30,
42
        'canuselocalstore' => true,
43
    ),
44
 
45
    // Used to store cache of all available translations.
46
    'langmenu' => array(
47
        'mode' => cache_store::MODE_APPLICATION,
48
        'simplekeys' => true,
49
        'simpledata' => true,
50
        'staticacceleration' => true,
51
        'canuselocalstore' => true,
52
    ),
53
 
54
    // Used to store database meta information.
55
    // The database meta information includes information about tables and there columns.
56
    // Its keys are the table names.
57
    // When creating an instance of this definition you must provide the database family that is being used.
58
    'databasemeta' => array(
59
        'mode' => cache_store::MODE_APPLICATION,
60
        'requireidentifiers' => array(
61
            'dbfamily'
62
        ),
63
        'simpledata' => true, // This is a read only class, so leaving references in place is safe.
64
        'staticacceleration' => true,
65
        'staticaccelerationsize' => 15
66
    ),
67
 
68
    // Event invalidation cache.
69
    // This cache is used to manage event invalidation, its keys are the event names.
70
    // Whenever something is invalidated it is both purged immediately and an event record created with the timestamp.
71
    // When a new cache is initialised all timestamps are looked at and if past data is once more invalidated.
72
    // Data guarantee is required in order to ensure invalidation always occurs.
73
    // Persistence has been turned on as normally events are used for frequently used caches and this event invalidation
74
    // cache will likely be used either lots or never.
75
    'eventinvalidation' => array(
76
        'mode' => cache_store::MODE_APPLICATION,
77
        'staticacceleration' => true,
78
        'requiredataguarantee' => true,
79
        'simpledata' => true,
80
    ),
81
 
82
    // Hook callbacks cache.
83
    // There is a static cache in hook manager, data is fetched once per page on first hook execution.
84
    // This cache needs to be invalidated during upgrades when code changes and when callbacks
85
    // overrides are updated.
86
    'hookcallbacks' => array(
87
        'mode' => cache_store::MODE_APPLICATION,
88
        'simplekeys' => true,
89
        'simpledata' => true,
90
        'staticacceleration' => false,
91
        // WARNING: Manual cache purge may be required when overriding hook callbacks.
92
        'canuselocalstore' => true,
93
    ),
94
 
95
    // Cache for question definitions. This is used by the question_bank class.
96
    // Users probably do not need to know about this cache. They will just call
97
    // question_bank::load_question.
98
    'questiondata' => array(
99
        'mode' => cache_store::MODE_APPLICATION,
100
        'simplekeys' => true, // The id of the question is used.
101
        'requiredataguarantee' => false,
102
        'datasource' => 'question_finder',
103
        'datasourcefile' => 'question/engine/bank.php',
104
    ),
105
 
106
    // HTML Purifier cache
107
    // This caches the html purifier cleaned text. This is done because the text is usually cleaned once for every user
108
    // and context combo. Text caching handles caching for the combination, this cache is responsible for caching the
109
    // cleaned text which is shareable.
110
    'htmlpurifier' => array(
111
        'mode' => cache_store::MODE_APPLICATION,
112
        'canuselocalstore' => true,
113
    ),
114
 
115
    // Used to store data from the config + config_plugins table in the database.
116
    // The key used is the component:
117
    //   - core for all core config settings
118
    //   - plugin component for all plugin settings.
119
    // Persistence is used because normally several settings within a script.
120
    'config' => array(
121
        'mode' => cache_store::MODE_APPLICATION,
122
        'staticacceleration' => true,
123
        'simpledata' => true
124
    ),
125
 
126
    // Groupings belonging to a course.
127
    // A simple cache designed to replace $GROUPLIB_CACHE->groupings.
128
    // Items are organised by course id and are essentially course records.
129
    'groupdata' => array(
130
        'mode' => cache_store::MODE_APPLICATION,
131
        'simplekeys' => true, // The course id the groupings exist for.
132
        'simpledata' => true, // Array of stdClass objects containing only strings.
133
        'staticacceleration' => true, // Likely there will be a couple of calls to this.
134
        'staticaccelerationsize' => 2, // The original cache used 1, we've increased that to two.
135
    ),
136
 
137
    // Whether a course currently has hidden groups.
138
    'coursehiddengroups' => array(
139
        'mode' => cache_store::MODE_APPLICATION,
140
        'simplekeys' => true, // The course id the groupings exist for.
141
        'simpledata' => true, // Booleans.
142
        'staticacceleration' => true, // Likely there will be a couple of calls to this.
143
    ),
144
 
145
    // Used to cache calendar subscriptions.
146
    'calendar_subscriptions' => array(
147
        'mode' => cache_store::MODE_APPLICATION,
148
        'simplekeys' => true,
149
        'simpledata' => true,
150
        'staticacceleration' => true,
151
    ),
152
 
153
    // Cache the course categories where the user has any enrolment and all categories that this user can manage.
154
    'calendar_categories' => array(
155
        'mode' => cache_store::MODE_SESSION,
156
        'simplekeys' => true,
157
        'simpledata' => true,
158
        'invalidationevents' => array(
159
            'changesincoursecat',
160
            'changesincategoryenrolment',
161
        ),
162
        'ttl' => 900,
163
    ),
164
 
165
    // Cache the capabilities list DB table. See get_all_capabilities and get_deprecated_capability_info in accesslib.
166
    'capabilities' => array(
167
        'mode' => cache_store::MODE_APPLICATION,
168
        'simplekeys' => true,
169
        'simpledata' => true,
170
        'staticacceleration' => true,
171
        'staticaccelerationsize' => 2, // Should be main capabilities and deprecated capabilities.
172
        'ttl' => 3600, // Just in case.
173
    ),
174
 
175
    // YUI Module cache.
176
    // This stores the YUI module metadata for Shifted YUI modules in Moodle.
177
    'yuimodules' => array(
178
        'mode' => cache_store::MODE_APPLICATION,
179
    ),
180
 
181
    // Cache for the list of event observers.
182
    'observers' => array(
183
        'mode' => cache_store::MODE_APPLICATION,
184
        'simplekeys' => true,
185
        'simpledata' => true,
186
        'staticacceleration' => true,
187
        'staticaccelerationsize' => 2,
188
    ),
189
 
190
    // Cache used by the {@link core_plugin_manager} class.
191
    // NOTE: this must be a shared cache.
192
    'plugin_manager' => array(
193
        'mode' => cache_store::MODE_APPLICATION,
194
        'simplekeys' => true,
195
        'simpledata' => true,
196
    ),
197
 
198
    // Used to store the full tree of course categories.
199
    'coursecattree' => array(
200
        'mode' => cache_store::MODE_APPLICATION,
201
        'staticacceleration' => true,
202
        'invalidationevents' => array(
203
            'changesincoursecat',
204
        )
205
    ),
206
    // Used to store data for course categories visible to current user. Helps to browse list of categories.
207
    'coursecat' => array(
208
        'mode' => cache_store::MODE_SESSION,
209
        'invalidationevents' => array(
210
            'changesincoursecat',
211
            'changesincourse',
212
        ),
213
        'ttl' => 600,
214
    ),
215
    // Used to store data for course categories visible to current user. Helps to browse list of categories.
216
    'coursecatrecords' => array(
217
        'mode' => cache_store::MODE_REQUEST,
218
        'simplekeys' => true,
219
        'invalidationevents' => array(
220
            'changesincoursecat',
221
        ),
222
    ),
223
    // Used to store state of sections in course (collapsed or not).
224
    'coursesectionspreferences' => [
225
        'mode' => cache_store::MODE_REQUEST,
226
        'simplekeys' => true,
227
        'simpledata' => false,
228
        'staticacceleration' => true,
229
    ],
230
    // Cache course contacts for the courses.
231
    'coursecontacts' => array(
232
        'mode' => cache_store::MODE_APPLICATION,
233
        'staticacceleration' => true,
234
        'simplekeys' => true,
235
        'ttl' => 3600,
236
    ),
237
    // Course reactive state cache.
238
    'courseeditorstate' => [
239
        'mode' => cache_store::MODE_SESSION,
240
        'simplekeys' => true,
241
        'simpledata' => true,
1441 ariadna 242
        'invalidationevents' => [
243
            'changesincoursestate',
244
        ],
1 efrain 245
    ],
246
    // Course actions instances cache.
247
    'courseactionsinstances' => [
248
        'mode' => cache_store::MODE_REQUEST,
249
        'simplekeys' => true,
250
        'simpledata' => false,
251
        'staticacceleration' => true,
252
        // Executing actions in more than 10 courses usually means executing the same action on each course
253
        // so there is no need for caching individual course instances.
254
        'staticaccelerationsize' => 10,
255
    ],
256
    // Used to store data for repositories to avoid repetitive DB queries within one request.
257
    'repositories' => array(
258
        'mode' => cache_store::MODE_REQUEST,
259
    ),
260
    // Used to store external badges.
261
    'externalbadges' => array(
262
        'mode' => cache_store::MODE_APPLICATION,
263
        'simplekeys' => true,
264
        'ttl' => 3600,
265
    ),
266
    // Accumulated information about course modules and sections used to print course view page (user-independent).
267
    // Used in functions:
268
    // - course_modinfo::build_course_section_cache()
269
    // - course_modinfo::inner_build_course_cache()
270
    // - get_array_of_activities()
271
    // Reset/update in functions:
272
    // - rebuild_course_cache()
273
    // - course_modinfo::purge_module_cache()
274
    // - course_modinfo::purge_section_cache()
275
    // - remove_course_contents().
276
    'coursemodinfo' => array(
277
        'mode' => cache_store::MODE_APPLICATION,
278
        'simplekeys' => true,
279
        'canuselocalstore' => true,
280
        'requirelockingbeforewrite' => true
281
    ),
282
    // This is the session user selections cache.
283
    // It's a special cache that is used to record user selections that should persist for the lifetime of the session.
284
    // Things such as which categories the user has expanded can be stored here.
285
    // It uses simple keys and simple data, please ensure all uses conform to those two constraints.
286
    'userselections' => array(
287
        'mode' => cache_store::MODE_SESSION,
288
        'simplekeys' => true,
289
        'simpledata' => true
290
    ),
291
 
292
    // Used to cache activity completion status.
293
    'completion' => array(
294
        'mode' => cache_store::MODE_APPLICATION,
295
        'simplekeys' => true,
296
        'simpledata' => true,
297
        'ttl' => 3600,
298
        'staticacceleration' => true,
299
        'staticaccelerationsize' => 2, // Should be current course and site course.
300
    ),
301
 
302
    // Used to cache course completion status.
303
    'coursecompletion' => array(
304
        'mode' => cache_store::MODE_APPLICATION,
305
        'simplekeys' => true,
306
        'simpledata' => true,
307
        'ttl' => 3600,
308
        'staticacceleration' => true,
309
        'staticaccelerationsize' => 30, // Will be users list of current courses in nav.
310
    ),
311
 
312
    // A simple cache that stores whether a user can expand a course in the navigation.
313
    // The key is the course ID and the value will either be 1 or 0 (cast to bool).
314
    // The cache isn't always up to date, it should only ever be used to save a costly call to
315
    // can_access_course on the first page request a user makes.
316
    'navigation_expandcourse' => array(
317
        'mode' => cache_store::MODE_SESSION,
318
        'simplekeys' => true,
319
        'simpledata' => true
320
    ),
321
 
322
    // Caches suspended userids by course.
323
    // The key is the courseid, the value is an array of user ids.
324
    'suspended_userids' => array(
325
        'mode' => cache_store::MODE_REQUEST,
326
        'simplekeys' => true,
327
        'simpledata' => true,
328
    ),
329
 
330
    // Cache system-wide role definitions.
331
    'roledefs' => array(
332
        'mode' => cache_store::MODE_APPLICATION,
333
        'simplekeys' => true,
334
        'simpledata' => true,
335
        'staticacceleration' => true,
336
        'staticaccelerationsize' => 30,
337
    ),
338
 
339
    // Caches plugins existing functions by function name and file.
340
    // Set static acceleration size to 5 to load a few functions.
341
    'plugin_functions' => array(
342
        'mode' => cache_store::MODE_APPLICATION,
343
        'simplekeys' => true,
344
        'simpledata' => true,
345
        'canuselocalstore' => true,
346
        'staticacceleration' => true,
347
        'staticaccelerationsize' => 5
348
    ),
349
 
350
    // Caches data about tag collections and areas.
351
    'tags' => array(
352
        'mode' => cache_store::MODE_REQUEST,
353
        'simplekeys' => true,
354
        'staticacceleration' => true,
355
    ),
356
 
357
    // Grade categories. Stored at session level as invalidation is very aggressive.
358
    'grade_categories' => array(
359
        'mode' => cache_store::MODE_SESSION,
360
        'simplekeys' => true,
361
        'invalidationevents' => array(
362
            'changesingradecategories',
363
        )
364
    ),
365
 
366
    // Store temporary tables information.
367
    'temp_tables' => array(
368
        'mode' => cache_store::MODE_REQUEST,
369
        'simplekeys' => true,
370
        'simpledata' => true
371
    ),
372
 
373
    // Caches tag index builder results.
374
    'tagindexbuilder' => array(
375
        'mode' => cache_store::MODE_SESSION,
376
        'simplekeys' => true,
377
        'simplevalues' => true,
378
        'staticacceleration' => true,
379
        'staticaccelerationsize' => 10,
380
        'ttl' => 900, // 15 minutes.
381
        'invalidationevents' => array(
382
            'resettagindexbuilder',
383
        ),
384
    ),
385
 
386
    // Caches contexts with insights.
387
    'contextwithinsights' => array(
388
        'mode' => cache_store::MODE_APPLICATION,
389
        'simplekeys' => true,
390
        'simpledata' => true,
391
        'staticacceleration' => true,
392
        'staticaccelerationsize' => 1
393
    ),
394
 
395
    // Caches message processors.
396
    'message_processors_enabled' => array(
397
        'mode' => cache_store::MODE_APPLICATION,
398
        'simplekeys' => true,
399
        'simpledata' => true,
400
        'staticacceleration' => true,
401
        'staticaccelerationsize' => 3
402
    ),
403
 
404
    // Caches the time of the last message in a conversation.
405
    'message_time_last_message_between_users' => array(
406
        'mode' => cache_store::MODE_APPLICATION,
407
        'simplekeys' => true, // The conversation id is used.
408
        'simplevalues' => true,
409
        'datasource' => '\core_message\time_last_message_between_users',
410
    ),
411
 
412
    // Caches font awesome icons.
413
    'fontawesomeiconmapping' => array(
414
        'mode' => cache_store::MODE_APPLICATION,
415
        'simplekeys' => true,
416
        'simpledata' => true,
417
        'staticacceleration' => true,
418
        'staticaccelerationsize' => 1
419
    ),
420
 
421
    // Caches processed CSS.
422
    'postprocessedcss' => array(
423
        'mode' => cache_store::MODE_APPLICATION,
424
        'simplekeys' => true,
425
        'simpledata' => true,
426
        'staticacceleration' => false,
427
    ),
428
 
429
    // Caches grouping and group ids of a user.
430
    'user_group_groupings' => array(
431
        'mode' => cache_store::MODE_APPLICATION,
432
        'simplekeys' => true,
433
        'simpledata' => true,
434
        'staticacceleration' => true,
435
    ),
436
 
437
    // This is the user's pre sign-up session cache.
438
    // This cache is used to record the user's pre sign-up data such as
439
    // age of digital consent (minor) status, accepted policies, etc.
440
    'presignup' => array(
441
        'mode' => cache_store::MODE_SESSION,
442
        'simplekeys' => true,
443
        'simpledata' => true,
444
        'ttl' => 1800
445
    ),
446
 
447
    // Caches the first time we analysed models' analysables.
448
    'modelfirstanalyses' => array(
449
        'mode' => cache_store::MODE_REQUEST,
450
        'simplekeys' => true,
451
        'simpledata' => true,
452
    ),
453
 
454
    // Cache the list of portfolio instances for the logged in user
455
    // in the portfolio_add_button constructor to avoid loading the
456
    // same data multiple times.
457
    'portfolio_add_button_portfolio_instances' => [
458
        'mode' => cache_store::MODE_REQUEST,
459
        'simplekeys' => true,
460
        'staticacceleration' => true
461
    ],
462
 
463
    // Cache the user dates for courses set to relative dates mode.
464
    'course_user_dates' => [
465
        'mode' => cache_store::MODE_REQUEST,
466
        'simplekeys' => true,
467
        'simpledata' => true,
468
        'staticacceleration' => true
469
    ],
470
 
471
    // Information generated during the calculation of indicators.
472
    'calculablesinfo' => [
473
        'mode' => cache_store::MODE_REQUEST,
474
        'simplekeys' => false,
475
        'simpledata' => false,
476
    ],
477
 
478
    // The list of content items (activities, resources and their subtypes) that can be added to a course for a user.
479
    'user_course_content_items' => [
480
        'mode' => cache_store::MODE_REQUEST,
481
        'simplekeys' => true,
482
    ],
483
 
484
    // The list of favourited content items (activities, resources and their subtypes) for a user.
485
    'user_favourite_course_content_items' => [
486
        'mode' => cache_store::MODE_APPLICATION,
487
        'simplekeys' => true,
488
    ],
489
 
490
    \core_course\local\service\content_item_service::RECOMMENDATION_CACHE => [
491
        'mode' => cache_store::MODE_APPLICATION,
492
        'simplekeys' => true,
493
    ],
494
 
495
    // Caches contentbank extensions management.
496
    'contentbank_enabled_extensions' => [
497
        'mode' => cache_store::MODE_APPLICATION,
498
        'simplekeys' => true,
499
        'simpledata' => true,
500
        'staticacceleration' => true,
501
    ],
502
    'contentbank_context_extensions' => [
503
        'mode' => cache_store::MODE_REQUEST,
504
        'simplekeys' => true,
505
        'simpledata' => true,
506
        'staticacceleration' => true,
507
    ],
508
 
509
    // Language strings for H5P content-type libraries.
510
    // Key "{$libraryname}/{$language}"" contains translations for a given library and language.
511
    // Key "$libraryname" has a list of all of the available languages for the library.
512
    'h5p_content_type_translations' => [
513
        'mode' => cache_store::MODE_APPLICATION,
514
        'simpledata' => true,
515
    ],
516
 
517
    // File cache for H5P Library ids.
518
    'h5p_libraries' => [
519
        'mode' => cache_store::MODE_APPLICATION,
520
        'simplekeys' => true,
521
        'canuselocalstore' => true
522
    ],
523
 
524
    // File cache for H5P Library files.
525
    'h5p_library_files' => [
526
        'mode' => cache_store::MODE_APPLICATION,
527
        'simplekeys' => true,
528
        'canuselocalstore' => true
529
    ],
530
 
531
    // Cache the grade letters for faster retrival.
532
    'grade_letters' => [
533
        'mode'                   => cache_store::MODE_REQUEST,
534
        'simplekeys'             => true,
535
        'staticacceleration'     => true,
536
        'staticaccelerationsize' => 100
537
    ],
538
 
539
    // Cache for licenses.
540
    'license' => [
541
        'mode' => cache_store::MODE_APPLICATION,
542
        'simplekeys' => true,
543
        'simpledata' => false,
544
    ],
545
 
546
    // Cache the grade setting for faster retrieval.
547
    'gradesetting' => [
548
        'mode'                   => cache_store::MODE_REQUEST,
549
        'simplekeys'             => true,
550
        'staticacceleration'     => true,
551
        'staticaccelerationsize' => 100
552
    ],
553
 
554
    // Course image cache.
555
    'course_image' => [
556
        'mode' => cache_store::MODE_APPLICATION,
557
        'simplekeys' => true,
558
        'simpledata' => true,
559
        'staticacceleration' => true,
560
        'datasource' => '\core_course\cache\course_image',
561
    ],
562
 
563
    // Cache the course categories where the user has access the content bank.
564
    'contentbank_allowed_categories' => [
565
        'mode' => cache_store::MODE_SESSION,
566
        'simplekeys' => true,
567
        'simpledata' => true,
568
        'invalidationevents' => [
569
            'changesincoursecat',
570
            'changesincategoryenrolment',
571
        ],
572
    ],
573
 
574
    // Cache the courses where the user has access the content bank.
575
    'contentbank_allowed_courses' => [
576
        'mode' => cache_store::MODE_SESSION,
577
        'simplekeys' => true,
578
        'simpledata' => true,
579
        'invalidationevents' => [
580
            'changesincoursecat',
581
            'changesincategoryenrolment',
582
            'changesincourse',
583
        ],
584
    ],
585
 
586
    // Users allowed reports according to audience.
587
    'reportbuilder_allowed_reports' => [
588
        'mode' => cache_store::MODE_APPLICATION,
589
        'simplekeys' => true,
590
        'simpledata' => true,
591
        'staticacceleration' => true,
592
        'ttl' => 1800,
593
    ],
594
 
595
    // Cache image dimensions.
596
    'file_imageinfo' => [
597
        'mode' => cache_store::MODE_APPLICATION,
598
        'simplekeys' => true,
599
        'simpledata' => true,
600
        'staticacceleration' => true,
601
        'canuselocalstore' => true,
602
        'staticaccelerationsize' => 100,
603
    ],
604
 
605
    // Cache if a user has the capability to share to MoodleNet.
606
    'moodlenet_usercanshare' => [
607
        'mode' => cache_store::MODE_SESSION,
608
        'simplekeys' => true,
609
        'simpledata' => true,
610
        'ttl' => 1800,
611
        'invalidationevents' => [
612
            'changesincoursecat',
613
            'changesincategoryenrolment',
614
            'changesincourse',
615
        ],
616
    ],
617
 
618
    // A theme has been used in context to override the default theme.
619
    // Applies to user, cohort, category and course.
620
    'theme_usedincontext' => [
621
        'mode' => cache_store::MODE_APPLICATION,
622
        'simplekeys' => true,
623
        'simpledata' => true,
624
        'staticacceleration' => true,
625
    ],
1441 ariadna 626
 
627
    'routes' => [
628
        'mode' => cache_store::MODE_APPLICATION,
629
        'simplekeys' => true,
630
        'simpledata' => true,
631
        'canuselocalstore' => true,
632
    ],
633
    // Cache to store user AI policy acceptance status.
634
    'ai_policy' => [
635
        'mode' => cache_store::MODE_APPLICATION,
636
        'simplekeys' => true, // Cache must use simple keys (a-zA-Z0-9_).
637
        'simpledata' => true, // Cache stores integer values which are simple data.
638
        'staticacceleration' => true,
639
        'datasource' => \core_ai\cache\policy::class,
640
        'canuselocalstore' => true,
641
    ],
642
    // Cache to store AI rate limits.
643
    // Used by AI provider plugins to limit the number of requests to external services.
644
    'ai_ratelimit' => [
645
        'mode' => cache_store::MODE_APPLICATION,
646
        'simplekeys' => true, // Cache must use simple keys (a-zA-Z0-9_).
647
        'simpledata' => true, // Cache stores integer values which are simple data.
648
        'staticacceleration' => true,
649
    ],
650
 
651
    // The navigation_cache class used this cache to store the navigation nodes.
652
    'navigation_cache' => [
653
        'mode' => cache_store::MODE_SESSION,
654
        'simplekeys' => true,
655
        'simpledata' => true,
656
        'ttl' => 1800,
657
    ],
1 efrain 658
);