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

    (@futtta)

    The HTML is minified actually, disable the option and check out the GPSI report to observe the difference.

    The reason GPSI claims it can be minimized even more, is that there is quite a lot of inline javascript (with a lot of comments and tabs and spaces) which the HTML optimizer leaves as is. The fact that that inline JS isn’t aggregated is because its mimetype (application/javascript) is not in AO’s whitelist of known good script types (which I’ll put on the todo-list to improve further).

    hope this explains,
    frank

    Thread Starter oschicus

    (@oschicus)

    Perfect Frank,

    This has helped a lot and as you said “disabling it” you obtain a different result.

    I can know understand the logic.

    Love your plugin and I have left a review.

    Thanks again,

    Oscar

    Plugin Author Frank Goossens

    (@futtta)

    you’re welcome!

    fyi; the in-development version of AO (which will become 2.0.1 once) now also aggregates application/javascript (and text/ecmascript and application/ecmascript), cfr. this commit.

    have a nice weekend,
    frank

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Minify HTML not working’ is closed to new replies.