Don't cache error pages.
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 8 Nov 2006 06:33:54 +0000 (06:33 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 8 Nov 2006 06:33:54 +0000 (06:33 +0000)
thumb.php

index a056dcc..9f7ed88 100644 (file)
--- a/thumb.php
+++ b/thumb.php
@@ -73,6 +73,7 @@ if ( $thumb && $thumb->path ) {
 } else {
        $badtitle = wfMsg( 'badtitle' );
        $badtitletext = wfMsg( 'badtitletext' );
+       header( 'Cache-Control: no-cache' );
        echo "<html><head>
        <title>$badtitle</title>
        <body>