Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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"




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: