mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-16 21:41:31 +02:00
Merge pull request #232 from catalyst/cache-header
Improve shared caching of the checkfinished endpoint #231
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user