Title: Is inline js minified?
Last modified: September 30, 2017

---

# Is inline js minified?

 *  [byoussin](https://wordpress.org/support/users/byoussin/)
 * (@byoussin)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/is-inline-js-minified/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fis-inline-js-minified%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [byoussin](https://wordpress.org/support/users/byoussin/)
 * (@byoussin)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/is-inline-js-minified/#post-9554581)
 * 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](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/is-inline-js-minified/#post-9554701)
 * sorry [@byoussin](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/is-inline-js-minified/#post-9554701)
 * Status: not resolved