6 ms·
cdnjs.com (running on CloudFlare infrastructure) is an alternative to Google's CDN. We should have every major script, but if we're missing anything feel free t
by ryankirkman 15y ago
cdnjs.com (running on CloudFlare infrastructure) is an alternative to Google's CDN. We should have every major script, but if we're missing anything feel free to fork at https://github.com/cdnjs/cdnjs https://github.com/cdnjs/cdnjs and we'll get it up asap.
Disclaimer: I'm one of the founders of cdnjs.
- deleted 15y ago[deleted]
- thomasdavis 15y agoAs posted by somebody else it's also worth using a local fallback. html5boilerplate has been doing it for jQuery for some time now. This can be done with most libraries by identifying the libraries global variable. e.g. for Modernizr <script>!window.Modernizr && document.write(unescape('%3Cscript src="/public/scripts/libs/modernizr.js"%3E%3C/script%3E'))</script>