update comment from live copy
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 8 Mar 2005 02:58:43 +0000 (02:58 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 8 Mar 2005 02:58:43 +0000 (02:58 +0000)
includes/OutputPage.php

index 6135629..ca05ee4 100644 (file)
@@ -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') ] ) &&