1
I am using a google API and I am testing it with the code below, but there is a huge difference in direct loading by browser and PHP, it takes a lot by PHP, there is some way to "accelerate" this?
    $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);
						
Both are for optimization?
– Thiago