added caching to mod_match_calendar