How to reduce wait time (probably TTFB?)

Hello there,

I am trying to get rid of nearly 200ms of waiting, as shown on images below:

The purple color represents “waiting” for CF.

Why CF takes this long to serve static html? Is there anything I can do about it?

While it may seem “static” if the page never changes, Cloudflare classifies HTML as “DYNAMIC”. That 200ms delay is Cloudflare getting the content from your server.

You’d have to add a Page Rule (or Cache Rule) to force it to cache with a Browser TTL and Edge Cache TTL if you want it cached by Cloudflare. [EDIT: and a Cache Everything if it’s a Page Rule, because HTML isn’t on “the list”]

1 Like

Thank you for your answer.

I had it setup to “cache everything” except my admin page.

Now I removed that, since I only want to cache html (I have cdn for img and css), is this how it should be?

Thank you for help!

I recommend that you turn those off, and use a Cache Rule instead:

1 Like

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