From 6f69216ebdf692abf88a25b586f5901c8ab725cb Mon Sep 17 00:00:00 2001 From: Thomas BrĂ¼derli Date: Wed, 12 Sep 2007 13:03:25 +0000 Subject: Don't send max-age header for Opera browsers --- itjs.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'itjs.php') diff --git a/itjs.php b/itjs.php index d8932ed..4e3b89c 100644 --- a/itjs.php +++ b/itjs.php @@ -40,7 +40,8 @@ else if (!ereg('\.html$', $file)) if ($checksum != $_SERVER['HTTP_IF_NONE_MATCH']) { - header("Cache-Control: max-age=900"); + if (!preg_match('/Opera/', $_SERVER['HTTP_USER_AGENT'])) + header("Cache-Control: max-age=900"); if ($_REQUEST['boot']) $data .= "window.it_boot_init();"; -- cgit v1.2.3