Improve shared caching of the checkfinished endpoint #231

This commit is contained in:
Brendan Heywood
2021-01-30 11:41:36 +11:00
parent ca6c48d0f3
commit 56ac8aa19b

View File

@@ -25,6 +25,9 @@
use auth_outage\dml\outagedb;
define('NO_MOODLE_COOKIES', true);
header('Cache-Control: public, max-age=10,s-maxage=10');
require_once(__DIR__.'/../../config.php');
$active = outagedb::get_active();