summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorUrban Müller2007-08-16 14:52:03 +0000
committerUrban Müller2007-08-16 14:52:03 +0000
commit9553763ef0c3b46fc0c2851fccc09c4fd3854669 (patch)
treec881a95f055e48f51eeb4140c6bcdd8c572fcad0 /itjs.php
parentf6ca497dbc683fc22ebe5c342e9e811924a73042 (diff)
downloaditools-9553763ef0c3b46fc0c2851fccc09c4fd3854669.tar.gz
itools-9553763ef0c3b46fc0c2851fccc09c4fd3854669.tar.bz2
itools-9553763ef0c3b46fc0c2851fccc09c4fd3854669.zip
support max-age
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/itjs.php b/itjs.php
index 3055958..5c23b4a 100644
--- a/itjs.php
+++ b/itjs.php
@@ -40,6 +40,8 @@ else if (!ereg('\.html$', $file))
if ($checksum != $_SERVER['HTTP_IF_NONE_MATCH'])
{
+ header("Cache-Control: max-age=900");
+
if ($_REQUEST['boot'])
$data = preg_replace('/([\xa0-\xff])/e', 'sprintf("\\u%04x", ord("\\1"))', $data) . "window.it_boot_init();";