mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 18:18:06 +02:00
Improve shared caching of the checkfinished endpoint #231
This commit is contained in:
1 parent
ca6c48d0f3
commit
56ac8aa19b
1 file changed
+3
@@ -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