I'm hosting my site at Heroku SaaS and something weird is happening with the Waterfall, to be specific the TTFB number. When accessing the site through the Heroku dns, I get a excellent TTFB, ~200ms. But, accessing using the Cloudflare DNS, the TTFB is ~750ms, almost 4x the Heroku DNS. My actual configuration, is just a redirect CNAME to heroku app (app.herokuapp.com) throughing the Cloudfare servers and a page rule to uses the Cloudflare SSL. Ok, the problem can be at the heroku, or at the redirect CNAME. But is there a way to improve it or do some test to identify the real problem?
Asked
Active
Viewed 451 times
2
-
When you bypass CloudFlare, are you still connecting with SSL? Can you post the URLs to be compared? – Jules Oct 21 '17 at 03:59
-
@Jules yes. The URLS are, Cloudflare (hidronat.traus.com.br) & heroku (hidronat.traus.com.br.herokudns.com). hidroant.traus.com.br has the cloudflare certificate – heber gentilin Oct 23 '17 at 10:52
-
Have you solved this?' I'm having the exact same issue – Augie Gardner Feb 23 '18 at 06:39
-
yes, migrate to another server :( I didn't find any solution. Sorry! – heber gentilin Feb 23 '18 at 17:55