Bitcoin Forum
April 16, 2024, 09:17:31 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Charts Web Site Contact  (Read 683 times)
lostdroid (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile WWW
September 02, 2013, 08: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 info@bitcoincharts.com 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
1713259051
Hero Member
*
Offline Offline

Posts: 1713259051

View Profile Personal Message (Offline)

Ignore
1713259051
Reply with quote  #2

1713259051
Report to moderator
1713259051
Hero Member
*
Offline Offline

Posts: 1713259051

View Profile Personal Message (Offline)

Ignore
1713259051
Reply with quote  #2

1713259051
Report to moderator
1713259051
Hero Member
*
Offline Offline

Posts: 1713259051

View Profile Personal Message (Offline)

Ignore
1713259051
Reply with quote  #2

1713259051
Report to moderator
No Gods or Kings. Only Bitcoin
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713259051
Hero Member
*
Offline Offline

Posts: 1713259051

View Profile Personal Message (Offline)

Ignore
1713259051
Reply with quote  #2

1713259051
Report to moderator
joshlang
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
September 02, 2013, 09: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 info@bitcoincharts.com 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?
lostdroid (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile WWW
September 02, 2013, 10: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
joshlang
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
September 03, 2013, 12:04:51 AM
 #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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!