3 ms·
the real question is, why Github doesn't do this directly?
by xem 12y ago
the real question is, why Github doesn't do this directly?
- rtpg 12y agoprobably because they don't want to become a free CDN for people
- dbbolton 12y agoThat is answered in the FAQ. >They do this because serving raw files from a git repo is relatively inefficient, so they want to discourage people from using their GitHub repos for static file hosting.
- InclinedPlane 12y agoTo prevent using them as a file host. If you can just dump files (of whatever size, it doesn't really matter) onto github and serve them natively across the web then they become a file share or a CDN. They'd have to seriously lock down the rules on publicly available free repos if that happened (and they'd have a copyright nightmare on their hand as well). Whereas if they force git into the loop on the client end then it keeps them in that repo hosting butter zone.
- username42 12y agoIn fact I wonder why they do not have the problem yet.
- InclinedPlane 12y agoIt's too much work and there are better alternatives. Big files just won't work and wouldn't be superior to torrents. Small files would work but compared to imgur, flickr, youtube, pastebin, tumblr, blogger, etc. it's much more hassle to use github with no advantages.