#Hello -- has anyone had issues with cf-cache-status: dynamic because of __cf_bm?

11 messages · Page 1 of 1 (latest)

blissful epoch
#

Website isn't serving the HIT and is always serving dynamic.

ashen sparrowBOT
#
Support AI

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.

slow dagger
blissful epoch
#

Interesting -- the host is using cloudflare enterprise.

#

Was there a work around?

slow dagger
#

Let me find the post

#

Do you use the CF Wordpress plugin or any Cache rules that would force html to be cached?

blissful epoch
#

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.