You can clone with
No one assigned
It would be great if you would allow clients using your library to set the "Accept-Encoding: gzip, deflate" HTTP header. This way Twitter will compress its response to the client, and considering the amount of redundant/duplicate data we all get back from Twitter, this should lead to a significant decrease in bandwidth...
No one interested in saving some costs on bandwidth? ;)
+1 on this. Adding
curl_setopt($ch, CURLOPT_ENCODING, '');
to the EpiTwitter.php request_basic() function about halves the access time to the API results when monitoring via Charles proxy. Seems like a win regarding performance and bandwidth.
Adding to the queue. Been pretty swamped but hope to get to some of the issues in the next week or bad.
I added @DustyReagan's suggestion to EpiOAth::curlInit and got a little bit of a speed improvement.
I had another problem that started today. I have a long "/statuses/user_timeline.json" to fetch. And, twitter now GZips the responses, my data is longer than the Gziped Content-Length and cURL simply wont return all of it. curl_setopt($ch, CURLOPT_ENCODING, 'gzip') solved for me.
Closed by 38aa1cf.
This issue was closed