Author

Topic: Bitcoin Charts Web Site Contact (Read 707 times)

newbie
Activity: 26
Merit: 0
September 02, 2013, 07:04:51 PM
#4
Could just be a server setting to not waste time/cpu compressing a relatively small payload.

Or it could just be configured not to compress dynamic content.

Anyway - I dunno any contact info, sorry Smiley
newbie
Activity: 15
Merit: 0
September 02, 2013, 05:03:27 PM
#3
Thank you for taking a look.  I'm using the following URL:

    http://api.bitcoincharts.com/v1/markets.json

Firebug shows me the following response header with no gzip:

    Connection   keep-alive
    Content-Length   31457
    Content-Type   application/json
    Date   Mon, 02 Sep 2013 21:47:42 GMT
    Server   nginx/1.5.

If I compare the Content-Length to the size of the actual content in the browser I also get 31457 bytes, also indicating it wasn't compressed.

But if I use a URL that returns CSV for Historic Trade Data:

    http://api.bitcoincharts.com/v1/trades.csv?symbol=mtgoxUSD

The response header is:

    Connection   keep-alive
    Content-Encoding   gzip
    Content-Length   164644
    Content-Type   text/html; charset=utf-8
    Date   Mon, 02 Sep 2013 21:52:48 GMT
    Server   nginx/1.5.0
    Vary   Accept-Encoding

This shows the response is compressed and the size of the actual data in the browser is 861429, also indicating it was compressed down to 164644 byes.

I've also tried the following URL:

   http://api.bitcoincharts.com/v1/weighted_prices.json

This doesn't appear to be using compression either so I'm assuming the server isn't configured to compress content type 'application/json'.

J
newbie
Activity: 26
Merit: 0
September 02, 2013, 04:27:20 PM
#2
Does anyone know how to get in touch or get the attention of the guys at Bitcoin Charts?  I have noticed that the json being returned from their API is not using gzip encoding and therefore consuming more bandwidth than necessary.  If I could talk to them about enabling this it would reduce the bandwidth used by the users of my Android App Bitcoin Prices and also decrease their bandwidth.

I have tried emailing [email protected] about this and with other suggestions in the past but I have never had a response.  If anyone here could put me in touch with them I would greatly appreciate it.

Thanks, J


I just looked:  It's gzip'ed for me.

What are you using to make the API request?
newbie
Activity: 15
Merit: 0
September 02, 2013, 03:36:13 PM
#1
Does anyone know how to get in touch or get the attention of the guys at Bitcoin Charts?  I have noticed that the json being returned from their API is not using gzip encoding and therefore consuming more bandwidth than necessary.  If I could talk to them about enabling this it would reduce the bandwidth used by the users of my Android App Bitcoin Prices and also decrease their bandwidth.

I have tried emailing [email protected] about this and with other suggestions in the past but I have never had a response.  If anyone here could put me in touch with them I would greatly appreciate it.

Thanks, J
Jump to: