Title: Problems with jquery?
Last modified: January 4, 2022

---

# Problems with jquery?

 *  Resolved [Vegsur](https://wordpress.org/support/users/miimie/)
 * (@miimie)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/problems-with-jquery-4/)
 * Hello, i got good pagespeed scores but suddenly all got worse and largest contestful
   paint went up like up to 5000ms. I added this to header.php and all problems 
   went away and pagespeed scores are again 100/100. Could this async cause some
   problems? <script src=”/wp-includes/js/jquery/jquery.min.js?ver=3.6.0″ async>
   </script>

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/problems-with-jquery-4/#post-15221028)
 * Hello [@miimie](https://wordpress.org/support/users/miimie/)
 * Thank you for reaching out and I am happy to assist answer.
    In JavaScript, async
   is a keyword placed before a function to allow the function to return a promise.
   Since JavaScript is an asynchronous language, Async functions let us write promise-
   based code as if it were synchronous, but without blocking the execution thread
   that allows the code to run asynchronously. In W3 Total Cache only minified files
   can be loaded with async or defer. In most cases, jquery has dependant files 
   which means that it should load before other files. Async helps, in this case,
   to allow jquery to load asynchronously and therefore faster and nonblocking. 
   If you do not have any console errors related to jquery and if you are not experiencing
   any issues on the website, there is nothing to worry about. You can always share
   your website URL. Thanks!
 *  Thread Starter [Vegsur](https://wordpress.org/support/users/miimie/)
 * (@miimie)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/problems-with-jquery-4/#post-15221054)
 * Thank you for your time and answer, very helpful! 🙂 I cant notice any errors
   in the site but feels like after putting that async, google is giving me alot
   of not mobile friendy errors and my new posts are not getting indexed because
   of this. Where i can see console errors?
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/problems-with-jquery-4/#post-15221078)
 * Hello [@miimie](https://wordpress.org/support/users/miimie/)
 * Can you please share those “not mobile-friendly” errors you are getting and where
   you are seeing those errors?
    you can check the console errors by right click
   anywhere on your website and clicking on inspecting. after that select the Console
   tab and check for any errors. You can also check [this article](https://support.awesome-table.com/hc/en-us/articles/115003787169-Using-the-Debug-Console-in-Google-Chrome-to-identify-errors)
   for assistance. Thanks!
 *  Thread Starter [Vegsur](https://wordpress.org/support/users/miimie/)
 * (@miimie)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/problems-with-jquery-4/#post-15221124)
 * Mostly im getting “Content wider than screen” & “elements too close together.”
   I just clear cache and validate fix and they are gone. Errors are randomly coming
   to between all of my pages. And the site is optimized on mobile perfectly, there
   are no such problems. I was wondering is this jquery async causing this if google
   sees the site wrong
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/problems-with-jquery-4/#post-15221894)
 * Hello [@miimie](https://wordpress.org/support/users/miimie/)
 * Thank you for the information.
    The problems you are referring to are not related
   to the jquery loading asynchronously. This is mostly related to your theme. You
   can check articles about “[Content wider than screen](https://seosandwitch.com/fix-content-wider-than-screen-issue/)”&“
   [elements too close together](https://seosandwitch.com/fix-clickable-elements-too-close-together-error/).”
   for more assistance with this. Thank you!

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

The topic ‘Problems with jquery?’ is closed to new replies.

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

 * 5 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/problems-with-jquery-4/#post-15221894)
 * Status: resolved