Suppose we have two files: style.css and stylejs.js.
Is there a way we can create a CDN link for our files so that others can use it by linking the CDN link just like we do for bootstrap and angular?
If yes, can someone tell me how to achieve that?
If you are already using those files on your own website you can easily give links to those files like http://www.yoursite.com/path/to/your/file/style.js
.
If you want to continue serving different versions you can achieve that by adding version numbers to your files like style.1.2.3.js
or keeping them in separate directories like /v1.2/style.js
.
The other option is to use some sort of CDN Hosting service like Cloudflare. You can find more services like this with a quick google search.