4 ms·
I guess rawgit should change its strategy: they instruct people to not link to rawgit.com but to cdn.rawgit.com when you expect heavy traffic. The thing is that
by thu 12y ago
I guess rawgit should change its strategy: they instruct people to not link to rawgit.com but to cdn.rawgit.com when you expect heavy traffic. The thing is that you have to read their instructions, which is probably not what you see when you receive a link to them. So you share that very same link, and if you share it on HN it crosses their threshold. Maybe they could use a redirect to their cdn URLs when such threshold is crossed, reverting it when some time is passed.
Beside, the redirect or a gentle message would be cheaper than serving evil.js and evil.css.
- Fuxy 12y agoWell that left a bad impression on me. I'm not sure i like this service anymore if this is their response to high traffic loads.
- btbuildem 12y agoAgreed, I had to refer to the comments here to find a working link. Their message was not helpful.
- rgrove 12y agoI run rawgit.com. Actually, I've tried both approaches. Redirecting does nothing to reduce excessive traffic, because nobody notices they're doing anything wrong. The traffic just keeps coming, and I keep having to redirect it, which doesn't help me at all. Displaying an annoying message, on the other hand, gets fast results, because _everyone_ notices and complains. Both rawgit.com and cdn.rawgit.com are completely free (the former paid for out of my own pocket, the latter generously donated by MaxCDN). I don't think it's too much to ask that a person read the prominent instructions before using this free service. For more background on how rawgit's abuse prevention works, read this article I wrote about a particularly painful incident: https://medium.com/the-javascript-collection/the-naughtiness-score-9a61872c61cd https://medium.com/the-javascript-collection/the-naughtiness...
- derpaway 12y agoDon't fucking run a service if you are going to hassle the people that use it. Your medium article makes you look like even more of an asshole.
- rgrove 12y agoI'm sorry I hurt your feelings with my hobby. I'd be happy to provide a full refund if you'll come out from behind that cowardly anonymous throwaway account.
- derpaway 12y agoI'm a bystander and a lurker. I've never heard of your "service" before now. I needed an account to post with.
- derpaway 12y agoWhen you have to put in a loop that crashes your users' browsers to stop them from "abusing" your free service -- perhaps you are doing something wrong. Besides, what if somebody doesn't know his traffic is going to increase? It's not exactly something you can always predict. Just crash everyone's browser -- that'll show 'em!
- ortuna 12y agoFor every shitty comment, there should be a friendly one: keep on truckin' :)
- asolove 12y agoDon't use a free service if you are going to hassle the people that run it. Your comment makes you look like even more of an asshole.
- ternaryoperator 12y agoSorry for the headaches. I didn't see the preferred URL--too busy playing with the editor ;-). Apologies for any hassles this caused you.
- rgrove 12y agoNo worries at all. I'm working on improving the messaging when a URL starts triggering abuse prevention measures to hopefully avoid confusing people so much.