Title: Render-Blocking JavaScript from Autoptimze
Last modified: August 31, 2016

---

# Render-Blocking JavaScript from Autoptimze

 *  Resolved [andremik90](https://wordpress.org/support/users/andremik90/)
 * (@andremik90)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/render-blocking-javascript-from-autoptimze/)
 * Hi
 * I only have one Render-Blocking JavaScript left on my list, and it’s autoptimize
   itself.
 * Is there any way to fix this one?
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/render-blocking-javascript-from-autoptimze/#post-7129807)
 * sure; uncheck the “force JS into head” option (that might require some extra 
   config though, as deferring JS can break stuff).
 * have fun,
    frank
 *  Thread Starter [andremik90](https://wordpress.org/support/users/andremik90/)
 * (@andremik90)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/render-blocking-javascript-from-autoptimze/#post-7129848)
 * Thanks Frank
 * I’ve tried it, but I still get
 * render blocking from:
 * [http://cdn1.mosquitonomore.com/wp-content/cache/autoptimize/js/autoptimize_9454d458b97e420bf2adb0f7acbf212c.js](http://cdn1.mosquitonomore.com/wp-content/cache/autoptimize/js/autoptimize_9454d458b97e420bf2adb0f7acbf212c.js)
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/render-blocking-javascript-from-autoptimze/#post-7129856)
 * [https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fmosquitonomore.com](https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fmosquitonomore.com)
 * only lists [http://mosquitonomore.com/?sccss=1&ver=4.4.2](http://mosquitonomore.com/?sccss=1&ver=4.4.2)
   as render blocking actually.
 * the js/autoptimize file is mentioned in a separate tip;
 * > Minifying [http://cdn1.mosquitonomore.com/…mize_9454d458b97e420bf2adb0f7acbf212c.js](http://cdn1.mosquitonomore.com/…mize_9454d458b97e420bf2adb0f7acbf212c.js)
   > could save 657B (1% reduction) after compression.
 * you can find more info on why this is so and how you could fix [in this forum topic](https://wordpress.org/support/topic/javascript-comments-1?replies=9).
 * hope this clarifies,
    frank
 *  [pattex](https://wordpress.org/support/users/pattex/)
 * (@pattex)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/render-blocking-javascript-from-autoptimze/#post-7129971)
 * Hello,
 * i have the same problem.
    The only blocking script is Autoptimize himself. If
   i try to uncheck “force JS into head” the site don´t load. I think the script
   is important to load the theme. Here is my site:
 * [https://www.sachsen.schule/~gym-heidenau/web](https://www.sachsen.schule/~gym-heidenau/web)
 * and the speed test:
 * [https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.sachsen.schule%2F~gym-heidenau%2Fweb&tab=desktop](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.sachsen.schule%2F~gym-heidenau%2Fweb&tab=desktop)
 * Is there any solution for this problem?
 * I know 89% is not bad but maybe i can it make more better.
 * Best regards, patrick
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/render-blocking-javascript-from-autoptimze/#post-7129972)
 * Hi Patrick;
    If disabling “force into head” causes problems, you can try excluding
   just the right JS from optimization to load at least the autoptimized JS late.
   At that point the excluded JS would at probably be render-blocking, so you would
   be going in circles really. But once you know which JS (and which plugin) needs
   JS loaded early, you could look for alternatives for that plugin?
 * Hope this clarifies,
    frank
 *  [pattex](https://wordpress.org/support/users/pattex/)
 * (@pattex)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/render-blocking-javascript-from-autoptimze/#post-7129973)
 * Hello Frank,
 * thank you for your quick answer.
    Where can I find the file which the sequence
   of the scripts defines? It is the functions.php in theme folder or a other?
 * Best regards, Patrick
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/render-blocking-javascript-from-autoptimze/#post-7129974)
 * > Where can I find the file which the sequence of the scripts defines? It is 
   > the functions.php in theme folder or a other?
 * It’s not that simple, I’m afraid; your theme and each plugin request WP core 
   to add JS, the full list of all enqueued scripts is kept in a variable of WP 
   at runtime. If you’re into coding, you can print_r the contents of $wp_scripts(
   if I’m not mistaking) to see what JS has been queued for output.
 * frank
 *  [pattex](https://wordpress.org/support/users/pattex/)
 * (@pattex)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/render-blocking-javascript-from-autoptimze/#post-7129975)
 * Oh no. I think this is too complicated for me. I’ll probably leave it as it is.
 * Thank You 🙂

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

The topic ‘Render-Blocking JavaScript from Autoptimze’ 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/)

## Tags

 * [render-blocking JavaScript](https://wordpress.org/support/topic-tag/render-blocking-javascript/)

 * 8 replies
 * 3 participants
 * Last reply from: [pattex](https://wordpress.org/support/users/pattex/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/render-blocking-javascript-from-autoptimze/#post-7129975)
 * Status: resolved