caching and cache time configuration