fp-ts-recipes
fp-ts-recipes copied to clipboard
Remove Public CDNs
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