diff options
Diffstat (limited to 'mod/profile/javascript.php')
-rw-r--r-- | mod/profile/javascript.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/profile/javascript.php b/mod/profile/javascript.php index 973908d6c..e45a56b78 100644 --- a/mod/profile/javascript.php +++ b/mod/profile/javascript.php @@ -13,6 +13,10 @@ // Get engine
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+ header("Content-type: text/javascript");
+ header('Expires: ' . date('r',time() + 864000));
+ header("Pragma: public");
+ header("Cache-Control: public");
echo elgg_view('profile/javascript');
?>
\ No newline at end of file |