Bitcoin Forum
December 11, 2017, 08:50:12 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin Charts Web Site Contact  (Read 639 times)
lostdroid
Newbie
*
Offline Offline

Activity: 15


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

Keep me working hard at: 1NuvRn89P5tYmUTfcL5WSu5BwduqpmpkoH
1512982212
Hero Member
*
Offline Offline

Posts: 1512982212

View Profile Personal Message (Offline)

Ignore
1512982212
Reply with quote  #2

1512982212
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
joshlang
Newbie
*
Offline Offline

Activity: 26


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
Newbie
*
Offline Offline

Activity: 15


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

Keep me working hard at: 1NuvRn89P5tYmUTfcL5WSu5BwduqpmpkoH
joshlang
Newbie
*
Offline Offline

Activity: 26


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!