Cloudflare cache everything does not work

I have cache everything enabled, but when I load a site, I get “cf-cache-status: DYNAMIC.” Of my understanding, this is caused when the cache control header is incorrectly set, but mine is “cache-control: public, max-age=31536000” which should not have any issues. Can anyone help me with this?

Can you share an example of what your Page Rule looks like, and a URL where you’re not seeing the expected behaviour?

Selection_1102

and a url would simply be kusanalimains.com

I just figured out the problem…
The page rule is .kusanalimains.com but the website im visiting is https://kusanalimains.com without any www.

1 Like

Yep! You could also change the page rule to *example.com/* instead of *.example.com/* to match both subdomains and the apex if you wanted.

1 Like

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