projects
/
bizou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replaced deprecaded Expires headers by Cache-Control
[bizou.git]
/
plugins
/
viewer
/
view.php
diff --git
a/plugins/viewer/view.php
b/plugins/viewer/view.php
index
9ccf5cd
..
4b2eddd
100644
(file)
--- 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';