Ask HN : Should I serve files from GitHub?
3 comments
I wouldn't. Showing an image stored in a repository (using their raw URLs) is unbearably slow in most cases. If you've ever seen their post-update hook page, the help text always loads slow for me because it's just doing an AJAX request to the raw URL for the documentation that is stored in a repo.
No you shouldn't, most likely files in the repo are not under CDN due to the nature of it. They change frequently so there is no point to cache them.
The idea comes from : http://docs.jquery.com/Downloading_jQuery#CDN_Hosted_jQuery