Answer the question
In order to leave comments, you need to log in
Can I set up a free CDN with GitHub Pages?
Hey!
How efficient and reasonable would it be to organize a free CDN on GitHub Pages to host libraries from javascript and css files for easy connection to any sites?
In order not to download to each hosting, but to have one centralized version for everyone.
For example, connect to all as jquery
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://login.github.io/script.min.js"></script>
Answer the question
In order to leave comments, you need to log in
Once again GitHub will collapse and pull your site with it - you will get broken scripts.
I don’t see any problem storing it on my server, at least you won’t depend on the work of other resources. Distribution of a couple of kilobytes of static does not carry any load on the server. Pictures load more.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question