- Code: Select all
curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 1);
At first I thought the performance slowed because of my AJAX but this was not the case. Next, I modified my script to remove large arrays and set the buffer to autoflush.
I parsed some AJAX into my localhost page to see results in real time and it looks like the performance starts high and then drops to a crawl. What could cause this in PHP? Could I modify a .ini or apache setting? Any suggestions or other things you think I should try or know?