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:
d3c2132
)
cache headers- allow client to cache for one day
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Wed, 28 Apr 2004 19:28:39 +0000
(19:28 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Wed, 28 Apr 2004 19:28:39 +0000
(19:28 +0000)
includes/RawPage.php
patch
|
blob
|
history
diff --git
a/includes/RawPage.php
b/includes/RawPage.php
index
09b6b66
..
8ed7bce
100644
(file)
--- a/
includes/RawPage.php
+++ b/
includes/RawPage.php
@@
-19,7
+19,8
@@
class RawPage {
}
function view() {
header( "Content-type: ".$this->mContentType.'; charset='.$this->mCharset );
- header( 'Cache-Control: s-maxage=0, max-age=2678400' );
+ # allow the client to cache this for 24 hours
+ header( 'Cache-Control: s-maxage=0, max-age=86400' );
echo $this->getrawtext();
wfAbruptExit();
}