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

make libraries be accesible through CDN #5

Open
montoyamoraga opened this issue Jul 2, 2018 · 5 comments
Open

make libraries be accesible through CDN #5

montoyamoraga opened this issue Jul 2, 2018 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@montoyamoraga
Copy link
Member

No description provided.

@montoyamoraga montoyamoraga self-assigned this Jul 2, 2018
@lisajamhoury
Copy link
Member

@montoyamoraga what is your timeline for this? the hosted library isn't updating (see below), so maybe the best solution is just to get CDN working?

@vanevery I updated the client-side library on the nyu server last week, but it is not updating on front end. ie. in my ftp the file is the correct, updated one, but when i go to the link it is not updated. I'm completely confounded. I've cleared cache, tried all the browsers, tried on a different network, nothing is working. help?

@lisajamhoury lisajamhoury added the enhancement New feature or request label Jul 18, 2018
@pdr
Copy link

pdr commented Jul 18, 2018

It looks like they require that your project have 200 stars on GitHub before consideration.

For the new library request issue, please make sure it's not a personal project, we have a basic requirement for the popularity, like 200 stars on GitHub or 800 downloads/month on npm registry.

@pdr
Copy link

pdr commented Jul 18, 2018

As an alternative you can serve files from jsdelivr like this:
https://cdn.jsdelivr.net/gh/kinectron/[email protected]/client/bin/kinectron.bundle.js

More on this here: https://www.jsdelivr.com/features

Basically you follow this pattern
https://cdn.jsdelivr.net/gh/user/repo@version/file

@lisajamhoury
Copy link
Member

@pdr jsdeliver sounds like a good solution for now.

@pdr
Copy link

pdr commented Jul 18, 2018

Other thing about cdnjs is that the files will need to be minified, just a heads up.

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

No branches or pull requests

3 participants