mirror of
https://github.com/moodle/moodle.git
synced 2025-04-27 03:14:20 +02:00
Fix for Bug #2387
This commit is contained in:
parent
6b9ead4981
commit
e6f4c5feb4
@ -6,8 +6,9 @@
|
||||
header("Content-type: application/x-javascript"); // Correct MIME type
|
||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s", $lastmodified) . " GMT");
|
||||
header("Expires: " . gmdate("D, d M Y H:i:s", time() + $lifetime) . " GMT");
|
||||
header("Cache-control: max_age = $lifetime");
|
||||
header("Pragma: ");
|
||||
// See Bug #2387
|
||||
header("Cache-control: max_age = -1");
|
||||
header("Pragma: no-cache");
|
||||
|
||||
?>
|
||||
// I18N constants
|
||||
|
Loading…
x
Reference in New Issue
Block a user