Support » Plugin: Minify HTML » Google PageSpeed Insights Reports?…

  • Resolved Multimastery

    (@multimastery)


    Hello,

    I have have tried over & over again to optimize my site with this plugin, but every time I check through Google PageSpeed Insights it says that the CSS and Javascript is not minified, only the HTML is. This has been reporting like this for months. Any help would be much appreciated. If it helps to know, I am using site origin child theme.

Viewing 1 replies (of 1 total)
  • Plugin Author Tim Eckel

    (@teckel)

    Minify HTML only minifies that page you’re on, not any included CSS or Javascript. So, if you’re on your home page, the HTML and any CSS or JavaScript on your home page will by minified with Minify HTML. You can verify this by simply viewing page source in your browser.

    What Google is talking about is the OTHER CSS and JavaScript pages that your site is loading. Not the actual page, but all the other pages. Minify HTML doesn’t minify those files (nor is it designed to). As the name states, it minifies your HTML (and any CSS/JS in your HTML).

    Your other included CSS/JS files simply need to be minified with an online tool and saved. This is outside the scope of Minify HTML as that’s not what it’s designed to do. It’s designed to only minify your HTML page, as the plugin’s name suggests.

Viewing 1 replies (of 1 total)
  • The topic ‘Google PageSpeed Insights Reports?…’ is closed to new replies.