Speed brain shouldn't hit the origin, but it does
So after speed brain was enabled on a free zone we started to see some odd behaviour where som actions are performed multiple times in our application. This is partly our fault for having GET requests "do" stuff but on the other hand we finally tracked it down to Speed Brain causing the links to be prefetched.
However reading: https://developers.cloudflare.com/speed/optimization/content/speed-brain/#caveats
Prefetch requests will never reach origin servers.This seems to be a invalid statement for us. I have logs showing the prefetch header set by Chrome hitting our origins and disabling Speed Brains stops the behaviour immediately. So intentially or not it is causing behaviour it shouldn't. I have no clue where/how to report this. But it seems like there are still some kinks to work out 🙂
2 Replies
I have no clue where/how to report this.Community Forums would be best, they've been collecting feedback on there. Either in your own thread under Feedback / Previews & Betas or under https://community.cloudflare.com/t/speed-brain-feedback/716781 If you link once created we've been tracking feedback about it. Not sure if that specific issue has been noted or not, not been following it too much. It being enabled by default isn't great though
Sure done: https://community.cloudflare.com/t/speed-brain-feedback/716781/11?u=alexbouma
The feature is extremely cool but maybe enabling it for every free user was a bit too ambitious 🫣