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

Remove Public CDNs #17

Open
toastal opened this issue Dec 15, 2021 · 0 comments
Open

Remove Public CDNs #17

toastal opened this issue Dec 15, 2021 · 0 comments

Comments

@toastal
Copy link

toastal commented Dec 15, 2021

As a recent article echos my sentiments, Public CDNs are useless and dangerous. Since this is hosted on a GitHub page, the scripts are already delivered by a CDN. Content is no longer shared in a cache, and more likely you are leaking user data to JSDelivr and Google (via Google Fonts) (also tagent, schemaless references should never be used and always point to the secure, https:// URI).

Actions options:

  • Host your JS files and web font files statically through GitHub like the current state but not on those CDNs
  • bundle/tree-shake the lib scripts into your source unlike current
  • Remove the web fonts altogether since a web demo is better to be lean and use system UI fonts than bother with the additional payload for fonts
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

1 participant