News for hackers. Stuff that matters.
Re:Please stop using CDNs for external JavaScript libraries by jaimex2 on Sunday October 11, 2020 @10:19AM (#24745964)
npm, bower etc more or less killed this pattern I thought?
Re:Please stop using CDNs for external JavaScript libraries by user_501238901 on Sunday October 11, 2020 @10:42AM (#24746124)
You'd be surprised how many new websites out there are still made by importing JS from a random CDN, no version control of course, code is uploaded manually through FTP
Re:Please stop using CDNs for external JavaScript libraries by jopsen on Sunday October 11, 2020 @01:37PM (#24747537)
I think we should be amazed at how far amateurs can go :)

In a world where all websites have to be perfect, we would have far fewer websites.

Re:Please stop using CDNs for external JavaScript libraries by a_humean on Sunday October 11, 2020 @10:52AM (#24746175)
During code review we just discovered that a somewhat popular npm library used a CDN for its assets (images of flags corresponding to country iso codes), forcing us to reimplement without the library.
Re:Please stop using CDNs for external JavaScript libraries by quickthrower2 on Sunday October 11, 2020 @06:01PM (#24749473)
We need another new competing module system to screw up all the CDNS!
Re:Please stop using CDNs for external JavaScript libraries by mistrial9 on Sunday October 11, 2020 @10:46AM (#24746147)
What does Wordpress do ?
Re:Please stop using CDNs for external JavaScript libraries by XCSme on Sunday October 11, 2020 @11:17AM (#24746338)
I think this is like asking "What would Jesus do?", but with a worse role-model.

The problem with WordPress is a lot bigger with the Themes/Plugins than with the platform itself.