some cleanups regardin max_cache_time