From: Gabriel Wicke Date: Wed, 28 Apr 2004 19:28:39 +0000 (+0000) Subject: cache headers- allow client to cache for one day X-Git-Tag: 1.3.0beta1~217 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=c7d79bab474f00eb5a2d5a06df58ff1a74d6aaf0;p=lhc%2Fweb%2Fwiklou.git cache headers- allow client to cache for one day --- diff --git a/includes/RawPage.php b/includes/RawPage.php index 09b6b6664a..8ed7bcee0e 100644 --- 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(); }