cacheGet($cacheKey); if ($cached) return $cached; $artist = $this->fetchSingleFromApi("optimized_artists", $url); if (!$artist) return null; $this->cacheSet($cacheKey, $artist); return $artist; } }