Cloudflare Auto-Minify not working with NGINX


I have a server running on Nginx with Angular 8.

I can’t make Cloudflare minify any css or js files…
My DNS is active, the CSS & JS ressources are cached and hit by Cloudflare CDN.

I have enabled of course the auto-minify for CSS & JS & HTML in Speed tab.

Whats i’m doing wrong? :confused:

Example link to the ressource that i’m unable to minify:

Thank you,

That is definitely not minified. It passes CSS validation, and it’s in the Cloudflare cache. I suggest that you open a Support Ticket:

Login to Cloudflare and then contact Cloudflare Support by clicking on the Get More Help button.

There is a no-transform in cache control, which I am pretty sure comes from the origin and most likely prevents the minification. I’d assume it should work once the origin is not sending that any longer.


Hello Sandro,

Thank you for your help, that’s fixed it !

I did not know that no-transform was blocking the minification of cloudflare…

Have a good day

This topic was automatically closed after 30 days. New replies are no longer allowed.