Added warning to change back the cache setting

This commit is contained in:
Mohamed Ashraf 2013-06-29 12:45:19 +02:00
parent 26bab09ef3
commit f99f448eb6

View File

@ -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'])) {