Conditionally control calendar caching.