pub async fn get_cached_json<T: DeserializeOwned>(
ctx: &Ctx,
url: &str,
) -> Result<T>Expand description
Fetch JSON with a persistent URL-keyed cache. Online requests refresh the cache; failures fall back to stale data. Offline mode never makes a request.