From: Gabriel Wicke Date: Wed, 28 Apr 2004 18:56:57 +0000 (+0000) Subject: cache on the client side X-Git-Tag: 1.3.0beta1~218 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=d3c21325d37eec73514ec9174377ad887f15928e;p=lhc%2Fweb%2Fwiklou.git cache on the client side --- diff --git a/includes/RawPage.php b/includes/RawPage.php index faf2726268..09b6b6664a 100644 --- 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(); }