I'm using a google API and I'm testing it with the code below, but there's a huge difference in loading directly through the browser and PHP, it takes a long time for PHP, is there any way to "speed it up"? >
$this -> curl = curl_init();
curl_setopt($this -> curl, CURLOPT_URL, ltrim($this -> queryURL() . '&q=' . urlencode($this -> query)));
curl_setopt($this -> curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($this -> curl, CURLOPT_RETURNTRANSFER, 1);
$this -> response = curl_exec($this -> curl);
curl_close($this -> curl);