Improve media_story rendering performance.