From: Brion Vibber Date: Tue, 8 Mar 2005 02:58:43 +0000 (+0000) Subject: update comment from live copy X-Git-Tag: 1.5.0alpha1~663 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=d10d615a858cf9903cfa75091cee1df0e3028208;p=lhc%2Fweb%2Fwiklou.git update comment from live copy --- 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') ] ) &&