Hi all
Thought I’d make a post here to help out anyone who is also experiencing issues with Blazor .net apps proxied behind Cloudflare.
As you’ve probably noticed, the apps just don’t work properly. After a lot of tinkering, we managed to trace the issue to minification. The workaround is simple - create a page rule matching for the URL on which the Blazor app is hosted (e.g. subdomain.domain.com/*
) with an action of “Disable Performance”. This successfully works around the issue while still giving you most of the benefits of Cloudflare.
Hope this saves someone some time.
Regards,
A