dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4147011
)
update comment from live copy
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 8 Mar 2005 02:58:43 +0000
(
02:58
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 8 Mar 2005 02:58:43 +0000
(
02:58
+0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
6135629
..
ca05ee4
100644
(file)
--- 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') ] ) &&