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

    (@futtta)

    I have, now ??

    The template is a script type=”text/x-handlebars-template”, which is not excluded by default and the JS optimizer can’t handle it because it’s not javascript. Add “text/x-handlebars-template” (or “epoch”) to your JS-optimization exclusion list and the problem goes away.

    frank

    Thread Starter caveatlector

    (@caveatlector)

    Wow, that was fast! Thanks very much for the quick troubleshooting and fix.

    Thread Starter caveatlector

    (@caveatlector)

    I just added that exclusion and it does correct the problem.

    Thanks for figuring that out, Frank!

    Plugin Author Frank Goossens

    (@futtta)

    So I just added logic not to aggregate any weird script type (i.e. there has to be no type or it should be text/javascript) to the development version. Would be great if you could download and install this version, removing the exclusion from above and see if that fixes things.

    frank

    Thread Starter caveatlector

    (@caveatlector)

    Good! I will test and report back.

    Thread Starter caveatlector

    (@caveatlector)

    Autoptimize-master works with the Epoch plugin activated without the “text/x-handlebars-template” exclusion. The code within the following script tags is untouched.

    `<script id=”epoch-comment-template” type=”text/x-handlebars-template”>

    </script>’

    However, it should be safe to remove line endings within that script, and doing that might be enough to keep Google from complaining that the HTML isn’t minified.

    Plugin Author Frank Goossens

    (@futtta)

    ok, thanks for the feedback!

    frank

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘HTML not Optimized with Epoch Plugin Activated’ is closed to new replies.