Minor improvement: Cache rendering phase if global cache enabled only.