Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1747
output-caching-patch.diff.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 8:06 PM
2014-11-21 20:06:36 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
output-caching-patch.diff.txt
View Options
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;
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1330
Default Alt Text
output-caching-patch.diff.txt (1 KB)
Attached To
Mode
T3109: Intermittent content-type of "application/octet-stream" prompts download window in Firefox
Attached
Detach File
Event Timeline
Log In to Comment