How long is “as long as possible” in wp_cache_set()?

The WordPress object cache isn’t a persistent cache, it’s meant to cache data within a single page load, so “as long as possible” will never be longer than a single request.

Use the Transients API if you want to store your data across multiple page loads, or even simpler, just store it in an option manually.