diff options
author | Mohamed Ashraf <mohamed.ashraf.213@gmail.com> | 2013-06-29 14:45:19 +0400 |
---|---|---|
committer | Mohamed Ashraf <mohamed.ashraf.213@gmail.com> | 2013-06-29 14:45:19 +0400 |
commit | f99f448eb6e5581a331f496be59ee34dbf90fd09 (patch) | |
tree | 1567b02fdfed38287f1386093926cd928fa963fe /js/get_scripts.js.php | |
parent | 26bab09ef3756e53c90f0f36e49e440fd1e9518d (diff) |
Added warning to change back the cache setting
Diffstat (limited to 'js/get_scripts.js.php')
-rw-r--r-- | js/get_scripts.js.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/get_scripts.js.php b/js/get_scripts.js.php index ed263896bc..af9fd6b517 100644 --- a/js/get_scripts.js.php +++ b/js/get_scripts.js.php @@ -18,7 +18,9 @@ session_write_close(); // Send correct type header('Content-Type: text/javascript; charset=UTF-8'); -// Enable browser cache for 1 hour +// Enable browser cache for 1 hour //not +// ================WARNING================= +// This must be changed back before merging header('Expires: ' . gmdate('D, d M Y H:i:s', time() - 3600) . ' GMT'); if (! empty($_GET['scripts']) && is_array($_GET['scripts'])) { |