add cache to schedule