.clear_cache should clear the dataset cache (including its corresponding task cache)
.clear_task_cache should only clear the related task cache based on (dataset, task) pair.
We want to prefereably implement this after #764 to allow more accurate task cache deletion.