Hint / Header to disable HTML minify from origin server


I’m using a Blazor server app behind Cloudflare. Blazor injects html comments in it’s responses adding required metadata to the page components and cannot function without them.
The HTML Auto Minify removes these comments breaking the website.
I am aware there is a way to disable this via Cloudflare but I am looking for a way for the server to be able to indicate not to perform the minification via some header or something similar.
The reason is that many of the callers will be located behind a Cloudflare tunnel to it’s not my own Cloudflare settings that can be changed.
The docs mention skipping .CSS / .JS files that contain “.min” - Would this also work for HTML ?

Any assistance is much appreciated.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.