$base64 = base64_encode(file_get_contents($cached_url));