Index: trunk/phase3/includes/resourceloader/ResourceLoader.php |
— | — | @@ -381,7 +381,8 @@ |
382 | 382 | // Some clients send "timestamp;length=123". Strip the part after the first ';' |
383 | 383 | // so we get a valid timestamp. |
384 | 384 | $ims = $context->getRequest()->getHeader( 'If-Modified-Since' ); |
385 | | - if ( $ims !== false ) { |
| 385 | + // Never send 304s in debug mode |
| 386 | + if ( $ims !== false && !$context->getDebug() ) { |
386 | 387 | $imsTS = strtok( $ims, ';' ); |
387 | 388 | if ( $mtime <= wfTimestamp( TS_UNIX, $imsTS ) ) { |
388 | 389 | // There's another bug in ob_gzhandler (see also the comment at |