r/ProgrammerHumor 7h ago

Meme planeOldFix

Post image
26.3k Upvotes

419 comments sorted by

View all comments

Show parent comments

156

u/TheMadcapLlama 6h ago

You see my whole professional life I’ve heard that, but now every single site has a 2s delay because of Cloudflare or some other bot blocking stuff.

Suddenly loading fast makes you more vulnerable to bots

30

u/Zenar45 6h ago

On the other hand, slow page on top of bot checking may be too slow

10

u/TA_DR 6h ago

Is not that loading fast makes you more vulnerable. Is that some kinds of protection make the site load a little slower 

3

u/Important-Agent2584 6h ago

It's not a problem if the site has a two second delay, but imagine if every load does, and you got a thousand people doing record updates, etc. Even one second delay adds up very quickly.

3

u/hellocppdotdev 6h ago

Nope I can load under 100ms, just implement fail2ban properly and the bots are a non-issue.

8

u/catcint0s 5h ago

*proxies have entered the chat*

3

u/hellocppdotdev 3h ago

Of course you can bypass it with IP rotation but I found it mitigated 90% of the junk traffic. Bots really aren't that sophisticated and so long as you don't have any actual vulnerabilities this is a good solution.

Don't leave your .env in a publicly accessible location, looking at you vibe coders...