Title: Optimize JavaScript not working
Last modified: August 30, 2016

---

# Optimize JavaScript not working

 *  [skytower1](https://wordpress.org/support/users/skytower1/)
 * (@skytower1)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/optimize-javascript-not-working/)
 * I enabled the “Optimize JavaScript Code” option, but in source code, the js codes
   are still in the header, what would be the reason. How to troubleshot?
 * Ps. I did clean the cache, even restarted the vps
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/optimize-javascript-not-working/#post-6372289)
 * hard to say without seeing your site skytower1, can you share your URL?
 * frank

Viewing 1 replies (of 1 total)

The topic ‘Optimize JavaScript not working’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/optimize-javascript-not-working/#post-6372289)
 * Status: not resolved