PDA

View Full Version : Can i move jquery to the site bottom?


postcd
05-07-2014, 05:01 PM
Hello, i think jquery can prevent website loading? how to add it into the forum bottom or how to make it loading from my server isntead from google or yahoo?

Lynne
05-07-2014, 05:13 PM
AdminCP > Settings > Options > Server Settings > Use Remote jQuery

pityocamptes
05-07-2014, 05:18 PM
Interested in this as well. Would this reduce the load time and external calls, if hosted on the server itself? Any benefit? Thanks.

tbworld
05-07-2014, 07:06 PM
This really depends on how the jquery code is written. If you are a beginner jquery, JavaScript user/programmer, leave it at the top. If you wish to move jquery load to the footer make sure you understand how the code and page will be available/ready or you might run into problems with the code working correctly.

Code must be 'wrapped' properly to insure it's proper loading from the footer. :)