• Resolved robertomango

    (@robertomango)


    Hi everyone,

    I’m a new WP-Optimizer, I’m trying to setup my first WordPress website and I’m having a small issue. I hope someone can help me figure out if this is something which needs to be addressed or if it’s not an issue at all.

    Here’s the thing: after running a SEO analysis I received this message: “Some CSS and Javascript files don’t seem to be minified.”

    So I found WP-Optimize, ran a database optimization, then enabled page caching and the Minify option but then my website stopped loading. I then followed the documentation’s suggestions about containing and merging Javascript files but only after completely disabling the processing of the Javascript files everything seems to be working again.

    I ran the SEO Analysis again and it now says the CSS is correctly minified, but the HTML document has increased in size from 35Kb to 53Kb.

    The Javascript files which are not minified are these:

    https://www.robertomango.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp
    https://www.googletagmanager.com/gtag/js?id=XXXXmyIDXXXX
    https://www.robertomango.com/wp-content/plugins/hybrid-composer/scripts/script.js?ver=1.0

    So the questions are: should/can these files really be minified? and why has WP-Optimize increased the HTML size so much?

    Thanking everyone in advance, I look forward to your support!

    Roberto

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Some files can’t be minified.

    For example, the GoogleTagManager file is actually coming from Google, so that file isn’t actually part of your web site and thus can’t be minified by the plugin.

    That’s likely true for the RobertOmango files too.

    That’s been my experience.

    Maybe someone else has a workaround?

Viewing 1 replies (of 1 total)
  • The topic ‘Javascript Minify Issue’ is closed to new replies.