Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
phlita opened this issue Jul 8, 2023 · 3 comments
Open

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

phlita opened this issue Jul 8, 2023 · 3 comments

Comments

@phlita
Copy link

phlita commented Jul 8, 2023

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
Copy link

Jan69 commented Oct 3, 2023

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
Copy link

Jan69 commented Oct 3, 2023

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
Copy link

joho1968 commented Oct 4, 2023

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

@phlita phlita changed the title suggestion suggestion: don't use CDNs for default theme Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants