• Resolved codimex

    (@codimex)


    Hi!

    One of my pages contains a complex form with payments and so. To make it work properly, I need to exclude HTML minification on that specific page (it’s the only SG Optimizer setting that interferes with that page). After enabling general HTML minification, I copy the URL of that specific page, paste it in the exclusion field and then I purge the cache. For some reason, the page is still HTML-minified.

    The console log shows an error that might be relevant:

    Uncaught ReferenceError: wp is not defined

    (I’m not a developer; I don’t know if it’s relevant for you -???- )

    Is HTML-minification exclusion working properly? Is there any other setting that might be causing this error? I’d really like to enable HTML minification, because the rest of the site scores better at GTmetrix when it’s enabled, but sadly, I can’t set exclusion rules. Please, help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Stanimir Stoyanov

    (@sstoqnov)

    SiteGround Representative

    Hey @codimex

    The problem is probably related to JavaScript Combination of Defer-Render Blocking functionality.

    Please use the excludes functionally that the plugin provides to exclude the scripts that cause the issues.

    Regards,
    Stanimir

    Thread Starter codimex

    (@codimex)

    Thank you! I’ll play around one more time with the settings. Wish me luck! Hope I’ll finally win the settings lotto! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTML Minification unable to exclude pages’ is closed to new replies.