Title: jQuery not defined error.
Last modified: September 30, 2020

---

# jQuery not defined error.

 *  Resolved [9itish](https://wordpress.org/support/users/9itish/)
 * (@9itish)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/jquery-not-defined-error-3/)
 * Hi,
 * My website no longer loads jQuery from `cdnjs` the recent LiteSpeed cache update.
   I keep getting the `jQuery not defined` error in the browser console.
 * When I load the same page by adding `?LSCWP_CTRL=before_optm`, everything loads
   without any error in the browser console.
 * Could you please help me figure out what’s wrong?
 * Thanks.

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

 *  Thread Starter [9itish](https://wordpress.org/support/users/9itish/)
 * (@9itish)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/jquery-not-defined-error-3/#post-13472034)
 * I resolved the error by turning off JS Combine. However, I still wanted to combine
   the JS files to serve the in an optimum manner. Is there any way to only exclude
   specific files from JS Combine?
 *  Plugin Support [Hai Zheng⚡](https://wordpress.org/support/users/hailite/)
 * (@hailite)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/jquery-not-defined-error-3/#post-13474111)
 * Yes you can exclude them from Tuning Settings.
 *  Plugin Support [Hai Zheng⚡](https://wordpress.org/support/users/hailite/)
 * (@hailite)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/jquery-not-defined-error-3/#post-13493986)
 * [@9itish](https://wordpress.org/support/users/9itish/)
 * If you are on v3.5.0.1 or v3.5 where you saw the error, please try following:
 * Do you mind to give v3.5.1-rc3 a try? In this version, I added a backward compatibility
   option `JS Combine External and Inline` default to OFF, which will give the sites
   which have been optimized in v3.4.2 better compatibility. That is to say, hopefully
   you won’t see any page layout broken when upgrading from v3.4.2 to v3.5.x anymore.
 * You can easily try it by LiteSpeed wp-admin menu `Toolbox` -> `Beta Test`, then
   type the latest commit link listed on [https://github.com/litespeedtech/lscache_wp/commits/master](https://github.com/litespeedtech/lscache_wp/commits/master).
   The v3.5.1-rc3 commit link is [https://github.com/litespeedtech/lscache_wp/commit/f52ff583712ab748edf3366e74152473bc954671](https://github.com/litespeedtech/lscache_wp/commit/f52ff583712ab748edf3366e74152473bc954671)
 * TIA.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/jquery-not-defined-error-3/#post-13535878)
 * Hi,
 * I’m going to mark this topic “Resolved”, due to lack of activity.
 * If you still need help, please feel free to re-open it.
 * Best regards,

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

The topic ‘jQuery not defined error.’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

## Tags

 * [cdn](https://wordpress.org/support/topic-tag/cdn/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [optimization](https://wordpress.org/support/topic-tag/optimization/)

 * 4 replies
 * 3 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/jquery-not-defined-error-3/#post-13535878)
 * Status: resolved