Add cache for <task_list, max_parallel_degree>