Differences Between: [Versions 402 and 403]
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 * Caches for Bigbluebuttonbn 19 * 20 * @package mod_bigbluebuttonbn 21 * @copyright 2010 onwards, Blindside Networks Inc 22 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 23 * @author Laurent David (laurent [at] call-learning [dt] fr) 24 */ 25 26 defined('MOODLE_INTERNAL') || die(); 27 28 $definitions = [ 29 // Server information 30 // version (double) => server version. 31 'serverinfo' => [ 32 'mode' => cache_store::MODE_APPLICATION, 33 'invalidationevents' => [ 34 'mod_bigbluebuttonbn/serversettingschanged', 35 ], 36 ], 37 38 // The validatedurls cache stores a list of URLs which are either valid, or invalid. 39 // Keys are a URL 40 // Values are an integer. 41 'validatedurls' => [ 42 'mode' => cache_store::MODE_APPLICATION, 43 'simpledata' => true, 44 ], 45 46 // The 'recordings' cache stores a cache of recording data. 47 'recordings' => [ 48 'mode' => cache_store::MODE_APPLICATION, 49 'invalidationevents' => [ 50 'mod_bigbluebuttonbn/recordingchanged', 51 'mod_bigbluebuttonbn/serversettingschanged', 52 ], 53 'ttl' => 5 * MINSECS, 54 ], 55 56 'currentfetch' => [ 57 'mode' => cache_store::MODE_REQUEST, 58 ], 59 ];
title
Description
Body
title
Description
Body
title
Description
Body
title
Body