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