From: julmis Date: Sat, 15 Jan 2005 18:33:03 +0000 (+0000) Subject: Fix for Bug #2387 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e6f4c5feb4a898703deb271a2bcd3b0297917d05;p=moodle.git Fix for Bug #2387 --- diff --git a/lib/editor/lang/en.php b/lib/editor/lang/en.php index dc0ef6eabd..6624b909c1 100644 --- a/lib/editor/lang/en.php +++ b/lib/editor/lang/en.php @@ -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