From 8a0cd2b04345f7513e9d5b0c763312d4b68d90db Mon Sep 17 00:00:00 2001 From: Ori Livneh Date: Mon, 2 Nov 2015 13:36:07 -0800 Subject: [PATCH] Revert "Add MediaWiki-Timestamp header to ResourceLoader requests" I have not had the time and wherewithal to write the follow-up code that actually uses this value. So just remove it for now. This reverts commit 3d5aca4a406424bf69016f9c7c4a94b317b62d25. Change-Id: Ice9b65f39802b55b3d4ddf801c06d1be3227fd5b --- includes/resourceloader/ResourceLoader.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/includes/resourceloader/ResourceLoader.php b/includes/resourceloader/ResourceLoader.php index f7ba4d28a5..85ef3c36e1 100644 --- a/includes/resourceloader/ResourceLoader.php +++ b/includes/resourceloader/ResourceLoader.php @@ -802,11 +802,6 @@ class ResourceLoader implements LoggerAwareInterface { $exp = min( $maxage, $smaxage ); header( 'Expires: ' . wfTimestamp( TS_RFC2822, $exp + time() ) ); } - - // Send the current time expressed as fractional seconds since epoch, - // with microsecond precision. This helps distinguish hits from misses - // in edge caches. - header( 'MediaWiki-Timestamp: ' . microtime( true ) ); } /** -- 2.20.1