php - Is there a faster/better way to check if an URL is reachable than cURL?
As per comment, the cause of slowness isn't the
cURL library. There's a whole system behind HTTP, such as DNS, web server(s), the connectivity to those servers and ultimately - every site / service uses some sort of server-side language to perform work, which can be slow as well. You need to find out what exactly in this chain isn't responding fast enough - is it DNS? Is it the connection of your server to the service you're connecting to? Is the service itself slow?
You can be 100% sure that it's not