Merge pull request #232 from catalyst/cache-header

Improve shared caching of the checkfinished endpoint #231
This commit is contained in:
Brendan Heywood
2021-01-30 11:50:29 +11:00
committed by GitHub

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();