• The ability to exclude certain inline javascript is great but it seems that in addition to excluding it from the consolidated AO JS file, it also gets excluded from the minify functionality. Is there a reason for this? It’s not usually much code so it is a pretty small issue, but I am just curious why it isn’t minified like all the rest of the code.

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

    (@futtta)

    AO (currently) only minifies the autoptimize-files, so whatever you exclude is indeed not minified. This might change in the future though ??

    Thread Starter mojamba

    (@mojamba)

    But AO optimizes the HTML code as well, right? And, if you exclude inline JS, it will remain in the HTML and thus would get minified? Or, is your minify algorithm set to ignore any JS/CSS?

    Plugin Author Frank Goossens

    (@futtta)

    Or, is your minify algorithm set to ignore any JS/CSS?

    it is.

    Thread Starter mojamba

    (@mojamba)

    Well, as I mentioned, it isn’t such a big thing (although maybe it is for others), but if there is no specific reason for it disabling that, perhaps you can add inline JS/CSS minify options in a future release?

    Regardless, great plugin. Thanks for your hard work on it.

    Plugin Author Frank Goossens

    (@futtta)

    perhaps you can add inline JS/CSS minify options in a future release?

    I might indeed add minification of non-aggregated JS/ CSS in a future release ??

    If you’re into PHP-development; feel free to join in on the fun on the GitHub repo, it could help speed up landing that feature ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Inline JS exclusion and minify functionality’ is closed to new replies.