Commit 798c0966 authored by jwilson3's avatar jwilson3 Committed by joseph.olstad

Issue #2165117 by MantasK, jwilson3, steinmb, Kristen Pol: Media browser loadtime high

parent 815c76cb
......@@ -1193,6 +1193,9 @@ function media_file_displays_alter(&$displays, $file, $view_mode) {
if (!empty($title)) {
$file->title = decode_entities(token_replace($title, array('file' => $file), $replace_options));
}
// Reduce memory footprint and response size in media browser.
$file->file_contents = '';
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment