Horrible time to First Byte When Using Cloudflare for India Traffic

Hi,

We are seeing very high TTFB and latency from India when using cloudflare. We are on the cloudflare Pro plan and even enabled the new Cloudlfare APO to see if it can make a difference.

The latency is getting worse - we even tried the Argo but no impact - https://latency.apex.sh/?url=https%3A%2F%2Fcandytech.in%2F&compare=

95% of my traffic is from India and cloudflare is routing traffic from the US location based on the IP we are able to see.

The latency is becoming horrible to the point that we are thinking moving away from cloudflare if this is not resolved.

So based on our 1 Week of testing Cloudflare Proxy is adding an additional close to .4 to 0.6 seconds to the TTFB.

Test - When Using Cloudflare as Proxy - https://webpagetest.org/result/201021_DiPP_fdde428bd1e3b8f7c248f3961386770a/

TTFB - 721 ms also it increases to 1200 ms at times

Test - When Not Using Cloudflare as Proxy - https://webpagetest.org/result/201024_Di6S_6e20a0b4fd66294dbbc735834b8d4945/1/details/#waterfall_view_step1

TTFB - 410 ms and even seen as low as 320ms

It has taken painfully long to diagnose that cloudflare is routing traffic to India from the US datacentrer and our origin is in singapore. It is long trip and messing up load times for the website.

We want an urgent solution for this and it is sad that cloudflare has been making money from us and we are loosing money as traffic is declining on the website due to poor load times.

Kindly re-route the traffic to my website candytech.in from an India based node.

Note* - I have enabled Argo in a desperate attempt to do a quick fix this issue but waiting for any positive changes.

I have raised a ticket few days back and there is no response on the same.

What should we do to reduce the latency?

Regards
Kanuj

Unless you’re on Cloudflare Enterprise plan, due to bandwidth costs/peering CF free, pro to some extent business plans won’t route to CF Indian datacenters and more likely route to Singapore or maybe US datacenter. You can check CF-Ray header’s datacenter 3 letter code in your response headers to see which datacenters you are routed to.

This would not usually be related to APO specifically. Have you compared APO cached WP TTFB vs non-APO CF cache everything page rule’s TTFB to see ?

Test with webpagetest.org to compare the 2. I wrote a guide for WPT at https://community.centminmod.com/threads/how-to-use-webpagetest-org-for-page-load-speed-testing.13859/

Thank you so much for your reply.

I contacted support and they told me to move to enterprise plan - but unfortunately, I don’t have that kind of budget for this website.

The CDN CGI trace shows colo=CCU - Kolkotta India but I think it is overloaded and response from it varies from time to time.

APO was breaking the AMP website ?amp URL are getting cached and somehow was also increasing the TTFB and overall page load times.

There is Zero Benefit of using ARGO or Cloudflare PRO Plan.

Only solution I can try is catch everything that has its own issues or to look for another service.

Any Suggestions are welcome :grin:

Thanks
Kanuj

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.