Hiranyey Gajbhiye

/home /experience /posts

Cloudflare is slow and Cloudflare cant do much about it

2023-05-09 random
Network

I proxy all my sites through Cloudflare becuase how easy and fast it is. But recently I have been noticing that the sites are taking more time to load than expected. It took exactly 1.3 mins to load after DNS cache was cleared.

1.3Min Wait

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.

Curl request

Here we can see that there are two IP assigned by cloudflare in my region. First one was 172.67.198.57 which doesnt respond at all and times out after 75seconds. And second one was 104.21.44.89 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.

Chrome IP

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 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.
Ciao!!!

Hackernews HomePage

EDIT
[2023-05-12]: I finally got my HN home page internet fame for 20mins
[2023-06-01]: I am back on cloudflare as ISP’s have fixed the issue