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/feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/feed.php') diff --git a/phpBB/feed.php b/phpBB/feed.php index 8971bae768..68cb7b9844 100644 --- a/phpBB/feed.php +++ b/phpBB/feed.php @@ -164,7 +164,7 @@ if (defined('DEBUG') && request_var('explain', 0) && $auth->acl_get('a_')) { header('Content-type: text/html; charset=UTF-8'); header('Cache-Control: private, no-cache="set-cookie"'); - header('Expires: 0'); + header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time())); header('Pragma: no-cache'); $mtime = explode(' ', microtime()); -- cgit v1.2.1