CF cache status is DYNAMIC

My CF cache status is DYNAMIC, even though control headers are public and the max-age is not 0. How can I make the cache HIT instead?

Here are my response headers:

alt-svc: h3=“:443”; ma=86400, h3-29=“:443”; ma=86400
cache-control: public, max-age=2592000
cf-cache-status: DYNAMIC

Please review the default Cache Behavior

There are a number of conditions when Cloudflare does not cache, if there was a set-cookie header, or more likely, the file extension is not in the default cached extensions list. This is the case with HTML.

If you want to force it to Cache HTML (or any asset) anyway, you can configure a Cache Rule, or a Page Rule, to force it to do so.
https://support.cloudflare.com/hc/en-us/articles/360021023712

1 Like

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