All is big, until it is solved to become small
I used to proxy all my sites through Cloudflare becuase how easy and fast it was. But recently I have been noticing that the sites are taking a lot of time to load.
Exactly 1.3 Mins to load after DNS cache was cleared everytime.
This was odd and bad as it takes too much too time to load a simple site. So i tried to curl the same endpoint and it finally showed the problem.
Here we can see that there are two IP assigned by cloudflare for my endpoint. First one was
18.104.22.168 which doesnt respond at all and
times out after 75seconds. And second one was
22.214.171.124 which gave instant responses. I checked on chrome which IP the site was resolving to, and yes, it was resolving to the second IP after 1.3 minute wait.
After checking twitter and cloudflare community about this, I understood that few Indian ISP’s are the real culprit here where i live. They are blocking the first IP which is delaying the response. So i tried to chat with cloudflare but you need paid account to even talk with them.
So rather than waiting for 1.3 minutes, i just shifted all my sites to my own server and let go off cloudflare's sweet sweet features. 🥲
I hope no one DDOSes my puny VM.🙏
[12 May 2023]: I finally got my HN home page internet fame for 20mins.😭😭😭