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:
df106e2
)
cache on the client side
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Wed, 28 Apr 2004 18:56:57 +0000
(18:56 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Wed, 28 Apr 2004 18:56:57 +0000
(18:56 +0000)
includes/RawPage.php
patch
|
blob
|
history
diff --git
a/includes/RawPage.php
b/includes/RawPage.php
index
faf2726
..
09b6b66
100644
(file)
--- a/
includes/RawPage.php
+++ b/
includes/RawPage.php
@@
-19,6
+19,7
@@
class RawPage {
}
function view() {
header( "Content-type: ".$this->mContentType.'; charset='.$this->mCharset );
+ header( 'Cache-Control: s-maxage=0, max-age=2678400' );
echo $this->getrawtext();
wfAbruptExit();
}