Index: includes/OutputPage.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/OutputPage.php,v
retrieving revision 1.229
diff -U8 -r1.229 OutputPage.php
--- includes/OutputPage.php	26 Jun 2005 06:49:56 -0000	1.229
+++ includes/OutputPage.php	30 Jun 2005 22:44:28 -0000
@@ -112,16 +112,17 @@
 			wfDebug( "--  we might send Last-Modified : $lastmod\n", false );
 			if( ($ismodsince >= $timestamp ) && $wgUser->validateCache( $ismodsince ) ) {
 				# Make sure you're in a place you can leave when you call us!
 				header( "HTTP/1.0 304 Not Modified" );
 				$this->mLastModified = $lastmod;
 				$this->sendCacheControl();
 				wfDebug( "CACHED client: $ismodsince ; user: $wgUser->mTouched ; page: $timestamp\n", false );
 				$this->disable();
+				@ob_end_clean(); // Don't output compressed blob
 				return true;
 			} else {
 				wfDebug( "READY  client: $ismodsince ; user: $wgUser->mTouched ; page: $timestamp\n", false );
 				$this->mLastModified = $lastmod;
 			}
 		} else {
 			wfDebug( "client did not send If-Modified-Since header\n", false );
 			$this->mLastModified = $lastmod;
