750 - 1000ms latency when going through cloudflare

I have been trying to reduce latency on our sites, and it appears there is significant latency when going through cloudflare. Testing shows anywhere from 750ms to 1000ms is added to the time it takes to fulfill a request. This is for a site with authentication, so caching is not an option for the urls. Is there something I can do to reduce latency when going through CloudFlare?

What’s the latency without using Cloudflare?

But to answer your question, Railgun on the Business and Enterprise plan is one way to decrease latency. But with those numbers, your money might be better spent on faster hosting.

If I hit the server directly, I get a response in 300ms, which is in line with the code execution time for the database queries and such (which are being worked on). If I go through cloudflare, it’s between 900-1300ms response time.

If you can get a Ray ID on one of those slow hits, open a Support Ticket and ask them about it.
Also, check which datacenter it’s going through: example.com/cdn-cgi/trace

Login to Cloudflare and then contact Cloudflare Support by clicking on the Get More Help button.

This topic was automatically closed after 30 days. New replies are no longer allowed.