WonderCMS / wondercms

Fast and small flat file CMS (5 files). Built with PHP, JSON database.
https://wondercms.com
MIT License
650 stars 164 forks source link

suggestion: don't use CDNs for default theme #300

Open phlita opened 1 year ago

phlita commented 1 year ago

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 1 year ago

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 1 year ago

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

joho1968 commented 12 months ago

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.)