Re:Please stop using CDNs for external JavaScript libraries
by rebelde on Sunday October 11, 2020 @12:53PM
(#24747152)
Wouldn't a better, but partial, solution be for browsers to preload the top x common libraries? All other libraries would probably have to follow this new rule.
[ Parent
| on HN ]
Re:Please stop using CDNs for external JavaScript libraries
by ValueNull on Sunday October 11, 2020 @01:09PM
(#24747308)
Isn’t this essentially what Decentraleyes does?
Re:Please stop using CDNs for external JavaScript libraries
by Forbo on Sunday October 11, 2020 @01:54PM
(#24747654)
I've been using LocalCDN, it seems to be more acatively maintained and has a better selection of libraries.
Re:Please stop using CDNs for external JavaScript libraries
by tracker1 on Sunday October 11, 2020 @03:19PM
(#24748272)
What version(s) of those libraries? I mean, I don't deal with this anymore... but I've seen sites literally loading half a dozen different copies of jQuery in the past (still makes me cringe).
Re:Please stop using CDNs for external JavaScript libraries
by codegladiator on Sunday October 11, 2020 @12:56PM
(#24747184)
Please no, don't create such barriers.
Re:Please stop using CDNs for external JavaScript libraries
by admax88q on Sunday October 11, 2020 @03:50PM
(#24748530)
Every other language runtime has a standard library, it's always been a shortcoming of the web IMO
Re:Please stop using CDNs for external JavaScript libraries
by lkschubert8 on Sunday October 11, 2020 @01:32PM
(#24747503)
At that point wouldn't it make more sense to just have the browsers include that functionality?
Re:Please stop using CDNs for external JavaScript libraries
by Polylactic_acid on Sunday October 11, 2020 @09:21PM
(#24750596)
As soon as you add something to JS you have to support it forever. Its better to let sites pick what they need and scrap what they no longer need. JS has already added most of the useful stuff from jQuery. If browsers included a built in version of React it would pretty much lock in the design as it is now without room to remove and replace bad ideas.