#Hello -- has anyone had issues with cf-cache-status: dynamic because of __cf_bm?
11 messages · Page 1 of 1 (latest)
According to the documentation, this is expected behavior if the requests do not contain accept: "text/html". As stated in the documentation (https://developers.cloudflare.com/automatic-platform-optimization/troubleshooting/faq/):
"When I check cf-cache-status via cURL, MISS and DYNAMIC are always returned. In my browser, I see HIT but other tools return DYNAMIC. Is this expected behavior?
Yes, this is expected behavior because the requests must contain accept: "text/html"."
Please ensure that the requests contain the required accept header to serve the HIT.
Might be a problem if you are using O2O, meaning your host also uses Cloudflare. I remember a Kinsta user having this same problem.
Let me find the post
Do you use the CF Wordpress plugin or any Cache rules that would force html to be cached?
I did the cache rules. That didn't seem to work. Then I used the CF plugin
It's interesting because the www does HIT but the non-www doesn't.