Hacker News new | ask | show | jobs
by rgrove 2812 days ago
Hi! I'm the guy behind RawGit.

I've actually never accepted donations. I paid the meager cost of the $10/month DigitalOcean droplet for the origin server, and StackPath (formerly MaxCDN) sponsored the CDN, which handled the majority of RawGit's traffic.

Once, I worked out how much the CDN bill would have been if StackPath hadn't sponsored me and my head nearly exploded. So yeah, I definitely couldn't have done it without them!

4 comments

How much would the bill have been? Rough estimate: 176TB per month: $3.500 to $4.200.
It was a while ago now so my memory is hazy, but that sounds about right.
It was a pleasure working with you on this Ryan. You did an amazing job.
Thanks Justin! Likewise.
Did you consider trying to sell the thing to GitHub or GitLab? That many users must be worth something I'd imagine.
Maxcdn must be very happy with all the data they gather with your project... I stopped using all those cdn based js deliver service when I saw all the cookies they were adding to my user's browsers.
StackPath doesn't add any cookies to cdn.rawgit.com responses. Here are the complete headers from a sample response:

  HTTP/1.1 200 OK
  Date: Fri, 12 Oct 2018 17:56:30 GMT
  Content-Type: application/json;charset=utf-8
  Transfer-Encoding: chunked
  Connection: close
  X-Content-Type-Options: nosniff
  X-Robots-Tag: none
  Access-Control-Allow-Origin: *
  ETag: "9c153866d0cad7024c0f31eb7b65be11582a6737"
  Cache-Control: max-age=86400
  Vary: Accept-Encoding
  RawGit-Cache-Status: HIT
  Server: NetDNA-cache/2.2
  Strict-Transport-Security: max-age=31536000; preload
  X-Cache: HIT
The ETags are identical to those from Github:

$ curl -I https://cdn.rawgit.com/sindresorhus/awesome/master/readme.md

etag: "1218d241f6c717fa83d0f1afa64809d6ce7451c8"

$ curl -I https://raw.githubusercontent.com/sindresorhus/awesome/maste...

ETag: "1218d241f6c717fa83d0f1afa64809d6ce7451c8"