r17482 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r17481‎ | r17482 | r17483 >
Date:06:33, 8 November 2006
Author:tstarling
Status:old
Tags:
Comment:
Don't cache error pages.
Modified paths:
  • /trunk/phase3/thumb.php (modified) (history)

Diff [purge]

Index: trunk/phase3/thumb.php
@@ -73,6 +73,7 @@
7474 } else {
7575 $badtitle = wfMsg( 'badtitle' );
7676 $badtitletext = wfMsg( 'badtitletext' );
 77+ header( 'Cache-Control: no-cache' );
7778 echo "<html><head>
7879 <title>$badtitle</title>
7980 <body>