A bad TTFB is typically caused by low powered hosting. Even using Cloudflare, if you’re on hosting that isn’t adequate for your website, the TTFB will be low simply because the hardware behind your host is poor.
Try moving to dedicated or cloud hosting!
you are correct that you are using Cloudflare. BUT, Cloudflare has not properly been set up. The page that you tested is bypassed by the cache. How can you tell? When you look at the first request, on the Response tab, you’ll see a Header entry:
@isotropic The performance of the server where the website is actually hosted has no influence on the web site performance if a page is properly cached by Cloudflare. If Cloudflare has a copy of the webpage cached, the original server won’t be called at all to serve the page.
@dfavor Same here. If Cloudflare has a cached copy of the web page then the performace of the system that orifginally created the page has no influence over the webpage served by Cloudflare. The issue of the large TTFB is caused by a) a slow webhosting server that hosts the web page and b) a misconfiguration of Cloudflare whch prevents the page to be cached by Cloudflare.
[hr]
A good article reagring how to set up the free verison of cloudflare, which is identical to the paid version except you are limited to 3 page rules for the free verion, is located here: https://scatteredcode.net/building-a-fast-and-secure-blog-part-3/
I finally find out what was preventing the cache to work as expected. It was due to a “CAPTCHA” module on the registration form. This form is present in all the pages, so no page at all was cached, causing Cloudflare to show the “DYNAMIC” cache. Configuration was correct on Cloudflare side, but Drupal was preventing to fully cache the page due to the CAPTCHA.