How to disable Speed Brain?

I have Speed Brain disabled for my Cloudflare Pages website in the dashboard's Speed -> Optimization -> Content Optimization setting. Yet I still see requests made to /cdn-cgi/speculation with every pageview. And the speculation-rules header set on HTTP requests.
3 Replies
James
James3mo ago
Have you tried clearing the cache for your Custom Domain on your Pages site, just in case it's cached? Otherwise, what do you see on the /cdn-cgi/speculation endpoint? Is it a blank object {}?
Jos
JosOP3mo ago
Thanks for the reply! 👍 Doing 'Purge Everything' has no effect, unfortunately. Indeed, the speculation endpoint returns an empty object ({}). Its Content-Length is 2 and the Content-Type application/speculationrules+json.
Chaika
Chaika3mo ago
That's all disabling does, it just returns an empty object which in effect disables speculation If you wanted to go further then that would need a transform response header rule to pop the header off
Want results from more Discord servers?
Add your server