From: Tim Starling Date: Fri, 18 Feb 2011 05:55:09 +0000 (+0000) Subject: Add the cache key to the filter output, like what we do with the parser cache, to... X-Git-Tag: 1.31.0-rc.0~31935 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=a1717b4953e2479a8f3b991d922dc444aa873b03;p=lhc%2Fweb%2Fwiklou.git Add the cache key to the filter output, like what we do with the parser cache, to make it easier to debug filter issues. --- diff --git a/includes/resourceloader/ResourceLoader.php b/includes/resourceloader/ResourceLoader.php index 2f21b1a6e5..a88ad59a61 100644 --- a/includes/resourceloader/ResourceLoader.php +++ b/includes/resourceloader/ResourceLoader.php @@ -152,9 +152,11 @@ class ResourceLoader { $result = JavaScriptDistiller::stripWhiteSpace( $data, $wgResourceLoaderMinifyJSVerticalSpace ); + $result .= "\n\n/* cache key: $key */\n"; break; case 'minify-css': $result = CSSMin::minify( $data ); + $result .= "\n\n/* cache key: $key */\n"; break; }