WonderCMS/wondercms

suggestion: don't use CDNs for default theme

phlita opened this issue · 3 comments

phlita commented

This project is very practical and concise, but it has one drawback. The default CSS and JS files in the background are using a CDN. If someone outside the service area of the CDN downloads this project, they won’t be able to load the JS and CSS files. This may lead to a misunderstanding and suspicion about the quality of the program. If this drawback can be fixed by saving the CSS and JS files within the project, wouldn’t it be perfect?

Jan69 commented

that actually only depends on the theme you choose
you could easily edit the theme file to instead load a local copy, or make your own theme that doesn't rely on any libraries, you're not limited to the default theme(s) ;)

Jan69 commented

also it's a very bad practice to give so vague titles, a much better title would be something like: "suggestion: don't use CDNs for default theme" or "CDN content not available in my region, ruins the experience" or something

It actually does not depend on which theme you use. When you're logged into admin, it forces several resources to be loaded from cdn.jsdelivr.net. They could just as well be loaded from a local URL. I have made my own theme (the Bootstrap 5 theme for WonderCMS), and it's still there when I log into admin. Just my two cents.

(I do agree about the title of the issue though.)