HTML minify is not working with Page Rules

Hi Members,

Am new to this platform and looking for a way to minify my html,js and css. I have setup page rules matching all the pages in my website with domain named as tracedeals.in. However the page is not minified.

Can you guys help on this!

Regards,
Sras

Hi @user1422,

The following article discusses why sometimes Cloudflare won’t minify certain files. In the case of your home page, none of the CSS or JS files qualify for minification as they are not served out or your domain, but by third parties and CDNs. As for the HTML, could it be a validation issue?

Also, you may want to have minification enabled at the Dashboard > Speed > Optimization tab instead of on page rules.