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