Caching and Compressing Javascripts and Stylesheets since 2009
Github uses Nginx and gzips their content automatically. Github Pages can be used as a CDN!
If we're missing something you need, submit a Github issue and we'll added immediately.
When I was first starting out with javascript, finding the good libraries was hard enough. Add on top of that...
... and you have yourself a bit-sized chunk of work in front of you. Multiply that times X number of projects, and you have a lot of time spent organizing and optimizing Javascript libraries.
This is an attempt to centralize javascript library access. You can easily download the libraries to your local project if you'd like, or feel free to directly link to the ones here. It's using Github as a CDN and they're good at that.
The main goal is to aggregate the best-of javascript and css libraries for rapid prototyping. It won't have every javascript library because there's 1000's of jQuery Tooltip plugins out there, but only say 3 of them are really good.
function here(library)
{
return $("li #" + library) == null;
}
function tell()
{
window.location.href = "http://github.com/viatropos/cached-commons/issues"
}
if (!here(window.location.search))
{
tell();
}
If you find a library that you think is great, create a Github Issue for it and give us a link to the library, a good demo, some docs, and the repository (or whatever exists). You will help other developers save time and money, which will in the long run speed up development and increase the number of services available to make your life better.
The source of the Cached Commons is here.
copyright @viatropos under the MIT License.