3 ms·
since they are disabling this, it would be nice if they provided a URL that you could hot-link to that just gets served from CDN and only updates every 5 minute
by ryankshaw 13y ago
since they are disabling this, it would be nice if they provided a URL that you could hot-link to that just gets served from CDN and only updates every 5 minutes or so.
best of both worlds: they dont need to have it hit their full stack on every request, and I can make a jsperf using <script src="//cdn.github.com/documentcloud/underscore/master/underscore.js">
- croddin 13y agoThat is similar to what github pages is. The limitation is just that the file must be in github pages and you can only get to the current file in the gh-pages branch. https://raw.github.com/documentcloud/underscore/master/underscore-min.js https://raw.github.com/documentcloud/underscore/master/under... won't work but http://documentcloud.github.io/underscore/underscore-min.js http://documentcloud.github.io/underscore/underscore-min.js will. Also it looks like there is already a workaround to get to raw pages: https://rawgithub.com/ https://rawgithub.com/