Add `cache_lifetime` config setting