Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace jquery.js URL to a CDN location #432

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LinuxSuRen
Copy link

No description provided.

@LisaFC
Copy link
Collaborator

LisaFC commented Jan 28, 2021

What's the advantage of using jsdelivr over code.jquery.com as our CDN?

@LinuxSuRen
Copy link
Author

From this doc, it's a pretty good CDN. https://github.com/jsdelivr/jsdelivr#why-jsdelivr

@gwatts
Copy link
Contributor

gwatts commented Mar 29, 2021

code.jquery.com is stackpath.. which is one of the CDNs jsdelivr uses.... i've never had an issue as far as I know so this is a bit of a solution looking for a problem imo.

It brings up a good question though around what js we actually want to host as part of the repo, vs pulling in via cdn (especially as these resources are far less cacheable these days)

We have a number of libraries now that we pull in via CDN, and a number that are either in the repo, or a git submodule

Not sure i have a good answer fwiw; just interested :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants