Add the cache key to the filter output, like what we do with the parser cache, to make it easier to debug filter issues.
This commit is contained in:
parent
2c6e16e5e5
commit
a1717b4953
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue