How to host your own JavaScript scripts files (other than Jquery) on a fast & free CDN like google?

Sam picture Sam · Feb 7, 2011 · Viewed 24.4k times · Source

Dave Ward inspired me to host my javascript jquery externally on google CDN:

//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js
//ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js

Now, can I host my other/own (non-JQuery) JavaScripts on free CDNs like google?
Is this possible? Or only for Jquery/famous often used scripts only?

Thanks for your suggestions.

Answer

Alex T picture Alex T · Oct 18, 2018

codepen.io allows you to host some js files without registration. Once you have an anonymous codepen saved the js part of it is available by just adding a .js at the end of your url.