X-Git-Url: http://positon.org/gitweb/?p=bizou.git;a=blobdiff_plain;f=plugins%2Fviewer%2Fview.php;fp=plugins%2Fviewer%2Fview.php;h=4b2edddfd60dc2e1ccddeca1cf8af640195c3c59;hp=9ccf5cd261e990c8c831ff620e7f33d45062cbb4;hb=884ff7f41492f93cf5398b6d47baec1f34804c03;hpb=87057fc33dfeee1b924947533c43f8c5a5a64e11 diff --git a/plugins/viewer/view.php b/plugins/viewer/view.php index 9ccf5cd..4b2eddd 100644 --- a/plugins/viewer/view.php +++ b/plugins/viewer/view.php @@ -77,7 +77,7 @@ $firefox = strpos($_SERVER['HTTP_USER_AGENT'], 'Firefox') !== false; ///// template starts here ///// header('Content-Type: text/html; charset=utf-8'); -header('Expires: '.gmdate('D, d M Y H:i:s \G\M\T', time() + 3600)); +header('Cache-Control: max-age=3600'); require 'template.php';