Closed tomByrer closed 10 years ago
Though I'd like to add http://rawgit.com:
share temporary examples or demos with small numbers of people.
New changes pushed to GitHub will be picked up within minutes, but heavy traffic will be throttled and excessive traffic will be blacklisted.
You have an error in your URL. It should be: http://htmlpreview.github.io/?https://github.com/dcodeIO/Preprocessor.js/blob/master/docs/Preprocessor.html
Rawgit serves files from a third-party host, whereas HTMLPreview works client-side and loads files straight from Github (via YQL or your own proxy).
Ah, thanks!
On Fri, Aug 22, 2014 at 6:27 AM, niu tech notifications@github.com wrote:
You have an error in your URL. It should be: http://htmlpreview.github.io/?https://github.com/dcodeIO/Preprocessor.js/blob/master/docs/Preprocessor.html
Rawgit serves files from a third-party host, whereas HTMLPreview works client-side and loads files straight from Github (via YQL or your own proxy).
— Reply to this email directly or view it on GitHub https://github.com/htmlpreview/htmlpreview.github.com/issues/27#issuecomment-53054417 .
So what's the advantage of HTMLPreview compared to rawgit? Only the fact that you theoretically can use your own proxy? I guess noone would do that anyway.
As I said, Rawgit is a third-party sever and if it was hacked, it could modify the source, or if it was down, you could not see anything. On the other hand, HTMLPreview uses the first-party Github infrastructure.
Well, although not likely, YGL/Yahoo could be hacked as well or go down. But yes, I see the point.
eg: old: http://htmlpreview.github.com/?http://github.com/dcodeIO/Preprocessor.js/master/docs/Preprocessor.html
new: https://rawgit.com/dcodeIO/Preprocessor.js/master/docs/Preprocessor.html