Issue #2756307 by Fabianx, dawehner: Provide a setting to disable FileCache completely for unit tests