Jump to content

Optimizing Curl Transmission


abazoskib

Recommended Posts

I am sending data to a remote location and I want to optimize curl for speed. I do not need any return data.

 

Here's what I am using so far:

 

curl_setopt($ch, CURLOPT_URL, $url . $qry_str);
curl_setopt ($ch, CURLOPT_NOBODY, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);

 

Are there any other setting I should look into for greatest speed?

Link to comment
https://forums.phpfreaks.com/topic/171845-optimizing-curl-transmission/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.