Title: Remove jquery?
Last modified: September 3, 2022

---

# Remove jquery?

 *  Resolved [steveb4](https://wordpress.org/support/users/steveb4/)
 * (@steveb4)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/remove-jquery-3/)
 * Hello
    Is it possible to remove jquery with Autoptimize? If not, how can jquery
   be removed? Thank you for your help.
    -  This topic was modified 3 years, 9 months ago by [steveb4](https://wordpress.org/support/users/steveb4/).

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/remove-jquery-3/#post-15975648)
 * Hey Steve;
    AO does not remove JS I’m afraid (well technically it could) it optimizes
   it, but it can simply be removed (dequeued) with a couple of lines of code, for
   examples see e.g. [https://mariushosting.com/how-to-completely-remove-jquery-from-wordpress/](https://mariushosting.com/how-to-completely-remove-jquery-from-wordpress/)
 * hope this helps,
    frank
 *  Thread Starter [steveb4](https://wordpress.org/support/users/steveb4/)
 * (@steveb4)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/remove-jquery-3/#post-15989432)
 * Thank you Frank.
 *  Thread Starter [steveb4](https://wordpress.org/support/users/steveb4/)
 * (@steveb4)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/remove-jquery-3/#post-15989441)
 * GTMetrix says that the above the fold LCP image is lazy loaded and that this 
   increases LCP timing. However, I have Autoptimize set to lazy load after the 
   2nd image. Why is the LCP image lazy loaded? Is the LCP image usually the featured
   image? Thank you for your help.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/remove-jquery-3/#post-15989666)
 * in that case try lazyloading from the 3rd or 4th image and see if that helps.
   alternatively you can exclude the LCP image using the filename.
 *  Thread Starter [steveb4](https://wordpress.org/support/users/steveb4/)
 * (@steveb4)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/remove-jquery-3/#post-15993135)
 * The file name will differ with each post so I will try your suggestion of lazy
   loading from the 3rd or 4th image. Thanks for your help.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/remove-jquery-3/#post-16127285)
 * No feedback so I assume this got resolved Steve? Feel free to follow up if you
   still encounter issues!
 * have a nice day!
    frank

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

The topic ‘Remove jquery?’ 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/)

 * 6 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/remove-jquery-3/#post-16127285)
 * Status: resolved