If you give us your origin IP address, we can them compare to see if it’s Cloudflare adding time or not.
Also - if you were to use a page rule to cache the entire home page (including html), you can get the TTFB close to 20ms, and full html download under 50ms.
Cloudflare isn’t going to speed up TTFB if your main page isn’t cached (I could be wrong on this). Cloudflare is actually going to add a bit of overhead to TTFB as it fetches the main page from your origin server.
What’s really going to matter is the overall load time of your site, which should be greatly improved through appropriate use of Cloudflare.
It also appears when testing from that particular colo their connection is to our CDG POP which is in France. That could be a function of the EC datacenter in the test having unique connectivity/ BGP routing or it could be a function of colos in that region available for the plan type for your domain.
Tools like web page test are good, but they aren’t run from endpoints where user eyeballs are so their results can be different from what users experience. You can connect to https://www.myupchar.com/cdn-cgi/trace and the colo corresponds to airport codes which how we geographically identify our POPs. If you also see a very distant POP plan type may be a factor, but TTFB for the page is a little high regardless (even direct to origin).
The this test was from 2 machines in the same datacenter? I would generally expect the results to be ridiculously fast (and they are). But that doesn’t mimic or correlate to what end users will see in terms of performance. The speed of light is fast, but it’s not infinite… there’s a certain level of latency which is going to be introduced through distance and each network hop that is simply unavoidable. For my two tests for example my direct test went from Austin, TX (US) to the origin server which I assume is in Bangalore since it’s DO. That’s a 19,000+ mile round trip and my colo location adds another 3000 miles to my tests through Cloudflare due to my personal network configuration. Time and hops add up.
For data hosted in Bangalore it’s probably not the ideal route for users to hit a POP in LHR, but for the plan you are currently on it may be the closest available colo for your particular network/ plan type. I suspect you would probably get better performance in the current scenario if the content were hosted on one of the DO instances in Europe.
Cloudflare sales or support login to Cloudflare and then contact Cloudflare Support might be able to tell you if additional POPs in India are available on the Pro and/or Biz plan, sorry I don’t have the current details there. Ability for users to hit a closer POP would also likely also help improve TTFB given it appears the DC hosting the origin server is also in region. India is a key area for expansion and growth for Cloudflare… I actually keep trying to convince my boss I need to go on an extended visit to spread Cloudflare love there.
Cloudflare business plan does offer bypass cache on cookie. Session is a little harder if it’s not defined by a cookie… custom cache key might be an option (that’s an ENT feature only today unfortunately). Finding the right balance for caching at the edge for customized content can be a tricky business… Railgun might also help for dynamic content performance and Argo is is another possibility as well.
Your TTFB is also extremely high when going direct to the origin. So for uncached requests/ dynamic content we have to wait on the origin as well. For pages where you can leverage cache everything that might help, but for dynamic content a less overloaded origin and/or possibly railgun might help.
I know some POPs don’t serve free plans, but I haven’t seen an official list. I think it changes from time to time as costs come down. I don’t know if they limit how much of your traffic would go through a more expensive POP. I’ve not heard of such an arrangement.
Blocking countries from your website most likely won’t change this. Maybe a paid CDN company has datacenter in India. But at that point, you could just pay for Cloudflare. I’ve used KeyCDN in the past and their prices are decent, though Asia traffic costs 3x Europe/North America. They have a POP in Bangalore. Maybe the $20/month here is the best deal.
You can certainly turn off the Cloudflare proxy by setting your DNS entry to . You’ll get very fast DNS performance, with the benefit of your local datacenter.