MDL-36621 calendar: Implement a cache framework for calendar
fix