Improve shared caching of the checkfinished endpoint #231

This commit is contained in:
Brendan Heywood committed 2021-01-30 11:41:36 +11:00
1 parent ca6c48d0f3
commit 56ac8aa19b
1 file changed
+3
+3
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();