From 33b20636804f00786e2a2aabf4b5155ac78269f6 Mon Sep 17 00:00:00 2001 From: Jakub Senko Date: Wed, 17 Sep 2014 10:52:19 +0200 Subject: [ticket/13044] Correct Expires headers PHPBB3-13044 --- phpBB/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/functions.php') diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 7dfaea6f48..3387943701 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -5062,7 +5062,7 @@ function page_header($page_title = '', $display_online_list = false, $item_id = // application/xhtml+xml not used because of IE 'Content-type' => 'text/html; charset=UTF-8', 'Cache-Control' => 'private, no-cache="set-cookie"', - 'Expires' => '0', + 'Expires' => gmdate('D, d M Y H:i:s \G\M\T', time()), 'Pragma' => 'no-cache', ); if (!empty($user->data['is_bot'])) -- cgit v1.2.1