From d10d615a858cf9903cfa75091cee1df0e3028208 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 8 Mar 2005 02:58:43 +0000 Subject: [PATCH] update comment from live copy --- includes/OutputPage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 61356299e1..ca05ee4635 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -308,7 +308,8 @@ class OutputPage { function sendCacheControl() { global $wgUseSquid, $wgUseESI; - # FIXME: This header may cause trouble with some versions of Internet Explorer + # don't serve compressed data to clients who can't handle it + # maintain different caches for logged-in users and non-logged in ones header( 'Vary: Accept-Encoding, Cookie' ); if( $this->mEnableClientCache ) { if( $wgUseSquid && ! isset( $_COOKIE[ini_get( 'session.name') ] ) && -- 2.20.1