• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest Please add new jQuery Source - cdnjs.com

Chris D

XenForo developer
Staff member
#4
It's just a template edit:

page_container_js_head

Find:
Code:
<script src="{$jQuerySource}"></script>
Replace with:
Code:
<script src="CDNJS.com URL Here"></script>
 

Chris D

XenForo developer
Staff member
#6
Nope. Highly unlikely.

You would need 1.11.1 to ensure compatibility with XenForo and its add-ons.
 

Chris D

XenForo developer
Staff member
#7
I've looked into cdnjs... It doesn't really seem like a good idea implementing it in the core.

It doesn't have all versions, if it ever had some of the jQuery versions XenForo has required over the years, not all of them are there now which leads me to believe they only host a subset of the most recent versions of things. I can see comments from people saying even current stuff like bootstrap is out of date.

Seems like a good concept for a service for a company to provide, but very poorly implemented.

Besides, if all they do is host the JS file on CloudFlare, couldn't you just use CloudFlare?