• Is it possible to activate legacy minifiers for CSS only?

    The problem is that the new minifiers don’t work for CSS (script error 500) and if I solve that problem with define("AUTOPTIMIZE_LEGACY_MINIFIERS","true"); Google says the my HTML could be optimized by 5%.

    The new minifiers reach 100% optimization for HTML.

    So the best of both worlds would be new minifiers for HTML and legacy minifiers for CSS.

    https://ww.wp.xz.cn/plugins/autoptimize/

Viewing 1 replies (of 1 total)
  • Plugin Author Frank Goossens

    (@futtta)

    well, the AUTOPTIMIZE_LEGACY_MINIFIERS only impacts the CSS & JS minifiers (and always impacts both, no way to only do one), but the HTML-minifier is always the same. but maybe you’re inlining your CSS, that would explain the Google Pagespeed Insights remark?

    frank

Viewing 1 replies (of 1 total)

The topic ‘Use legacy minifiers only for CSS?’ is closed to new replies.