Kıyaslama Nasıl: bant genişliği iyileşme cURL ile GZIP kullanarak (PHP)

0 Cevap php

Ben kriter cURL (PHP) ile aktif için GZIP ayar kaydedilen bant genişliği çalışıyorum.

I curl_setopt($ch, CURLOPT_ENCODING , 'Accept-Encoding: gzip'); tarafından bu yaptım

Aşağıda için dokümantasyonudur CURLOPT_ENCODING:

The contents of the "Accept-Encoding: " header. This enables decoding of the response. Supported encodings are "identity", "deflate", and "gzip". If an empty string, "", is set, a header containing all supported encoding types is sent.

Şimdi kolay ve orada uygun beni GZIP ON olduğunda kullanılan bant genişliği kontrol ve ben onu KAPALI varken?

0 Cevap