diff options
Diffstat (limited to 'lib/exe/js.php')
-rw-r--r-- | lib/exe/js.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/js.php b/lib/exe/js.php index 0615db374..f18edc5d6 100644 --- a/lib/exe/js.php +++ b/lib/exe/js.php @@ -56,7 +56,7 @@ function js_out(){ $plugins = js_pluginscripts(); // check cache age & handle conditional request - header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); + header('Cache-Control: public, max-age=3600'); header('Pragma: public'); if(js_cacheok($cache,array_merge($files,$plugins))){ http_conditionalRequest(filemtime($cache)); |