Issue #409354 by miro_dietiker, mstrelan, crea, weri, voleger: Performance issues with large number imagecache presets and content types