about the cdn

26 views
Skip to first unread message

yikes

unread,
Feb 14, 2012, 4:52:30 AM2/14/12
to JSXGraph
Is it possible to have something like
http://cdnjs.cloudflare.com/ajax/libs/jsxgraph/current/jsxgraphcore.js
?
This saves a lot if one wants to use the latest version.
For those who use specific version, there can be something like
http://cdnjs.cloudflare.com/ajax/libs/jsxgraph/0.92/jsxgraphcore.js

michael

unread,
Feb 14, 2012, 5:47:07 PM2/14/12
to jsxg...@googlegroups.com
The cdnjs.com is just hosting jsxgraph (along with several other great javascript libraries), we just send them our updated files. I thought there already was such a feature request somewhere but i can't find it.

Development of cdnjs takes place on github https://github.com/cdnjs/cdnjs, you should consider posting your request there.

net-buoy

unread,
Feb 14, 2012, 5:54:31 PM2/14/12
to JSXGraph
I raised this option to Alfred when I first suggested the CDN solution
as this is a typical solution and Alfred suggested a wait and see
position. This would involve a simple redirect and could be done in a
number of different ways. But it is trivial to accomplish if and when
the project chooses so to do.

On Feb 14, 1:47 pm, michael <michael.gerhaeu...@gmail.com> wrote:
> The cdnjs.com is just hosting jsxgraph (along with several other great
> javascript libraries), we just send them our updated files. I thought there
> already was such a feature request somewhere but i can't find it.
>
> Development of cdnjs takes place on githubhttps://github.com/cdnjs/cdnjs,

michael

unread,
Feb 16, 2012, 2:56:18 PM2/16/12
to jsxg...@googlegroups.com
I think cdnjs wanted to implement a generic solution for all libraries but i can't find the feature request anywhere (if there was any).

Marc Grober

unread,
Feb 16, 2012, 3:49:18 PM2/16/12
to jsxg...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

There was a good deal of correspondence between Alfred and me leading
up to putting jsxgraph in cdnjs. I had suggested that we could explore
a URL directly from cdnjs for "latest" a la MathJax, do a redirect
from the existing jsxgraph.org domain, or do a bit.ly shortcut (I did
up the last one as an illustration of how that could be done. Alfred
was concerned that anything along those lines would lose in redirect
time what the load from the CDN would save. I felt that anyone who
did not want to lose the extra time in exchange for maintaining
currency could always use the direct, long coded URL for the current
version. Of course, one issue with a URL which automatically uses the
current code is that things could go bump.... Whatever way you look at
it, Alfred made a decision - if someone over there wantt o revisit
that, we can certainly run up arguments pro and con again (I guess I
just did, lol) and adding a "latest" URL is trivial save that I don;t
know if CDNJS actually offers that option and if so, what it would
take, but that is easily discoverable if you want to go there.

I suppose what one would want to do first off is to determine the
extent of CDNJS usage and if possible query those not using CDNJS to
see if non-users don;t use CDN for a specific reason and what CDN
users might feel about such things. Moodle-wise, while I have been
discouraged by Moodle 2.x, I think "SEE", incorporating all Mauno's
coding for Math tools, will soon be the default configuration for
anyone doing math via Moodle, and settings that automate updates are
going to be debated by SAs one way and the other. BUT CDN usage of
MathJax and jsxgraph will continue climbing.

> -- You received this message because you are subscribed to the
> Google Groups "JSXGraph" group. To view this discussion on the web
> visit https://groups.google.com/d/msg/jsxgraph/-/3sRz9RROADsJ. To
> post to this group, send email to jsxg...@googlegroups.com. To
> unsubscribe from this group, send email to
> jsxgraph+u...@googlegroups.com. For more options, visit this
> group at http://groups.google.com/group/jsxgraph?hl=en.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPPWvNAAoJEMCi9wxDaNqEyeIIANP0WqHRg7AHCYh/HYHYEnBZ
Z2jUBYMmzfMVMv5EAPfC6p1T7lIxT2R40iuG1BqoB9UtKMV2MUf9zZhlN47XaUGV
FKpGu17WeHwayzemwR+et/SMzyTo94iIiDNgIYboGd69IZ2zOf+2dzPaglmgZVlP
N2iVAPC+s0jE6jVtKESUptB3tr36ujqTRMmFhe+M+P3jBknTP4uKFSP+ZVUJVx7N
LJVNIsHf0Nuc21pqFoTjI7WzC8Rujc+gV5+lADNBciakiL1sq6dwEaNjU8X0k37N
9SH2NrbtmrBXNK4M+DU0s6jSIhteLQzdzDwjzGvCWRDOr+sGlGeH1vHi7gWTz7k=
=wxzd
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages