disable curl cache

This commit is contained in:
ghost 2023-09-16 03:51:49 +03:00
parent da541bf273
commit d9cbc6af73

View File

@ -37,6 +37,7 @@ class Curl
curl_setopt($this->_connection, CURLOPT_MAXREDIRS, $maxRedirects);
}
curl_setopt($this->_connection, CURLOPT_FRESH_CONNECT, true);
curl_setopt($this->_connection, CURLOPT_RETURNTRANSFER, true);
curl_setopt($this->_connection, CURLOPT_CONNECTTIMEOUT, $connectTimeout);
curl_setopt($this->_connection, CURLOPT_TIMEOUT, $connectTimeout);