• I wonder if inlined js is minified, or is there any way to turn on the minification of inline js?

    I think Autoptimize always left inline js not minified but this far my inline js was always short.

    But after a recent update of Advanced Ads I noticed that the PageSpeed score of the above page went down from 100 to 99, and I think the reason is the long inline js injected by Advanced Ads plugin. The same unminified js appears on other, longer pages but PageSpeed does not complained on them, apparently because the percentage of minification gain is smaller on longer posts.

    Is there any better solution other than removing Advanced Ads?

    If not, maybe you consider adding this feature of minifying inline js? ??

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter byoussin

    (@byoussin)

    As I have not received response yet, I presume that there is no simple solution.

    For this reason I removed Advanced Ads from my site so you cannot see the unminified inline js in the page I have referenced.

    But I think it is important to minify the inline js.

    Thanks again for the plugin!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    sorry @byoussin, had missed your original post. AO indeed does not minify non-aggregated inline JS. I might add that one day, but I don’t consider this high priority, as it does not have a significant impact on real page load performance (in spite of a slight impact on Pagespeed Insight).

    hope this clarifies,
    frank

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is inline js minified?’ is closed to new replies.