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:
1ba8a72
)
* Keep generated stylesheets cache-separated for each user
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 24 Dec 2004 01:50:01 +0000
(
01:50
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 24 Dec 2004 01:50:01 +0000
(
01:50
+0000)
includes/RawPage.php
patch
|
blob
|
history
diff --git
a/includes/RawPage.php
b/includes/RawPage.php
index
2c9b8c5
..
41d599f
100644
(file)
--- a/
includes/RawPage.php
+++ b/
includes/RawPage.php
@@
-75,6
+75,8
@@
class RawPage {
header( "Content-type: ".$this->mContentType.'; charset='.$this->mCharset );
# allow the client to cache this for 24 hours
header( 'Cache-Control: s-maxage='.$this->mSmaxage.', max-age='.$this->mMaxage );
+ # Make sure each logged-in user gets his/her own stylesheet
+ header( 'Vary: Cookie' );
if($this->mGen) {
$sk = $wgUser->getSkin();
$sk->initPage($wgOut);