currently learning Flask , Bootstrap and Moment (haven't done anything like this for 20 years) - why does so much *default* to going through external CDNs (when the resources are already on this server) and you have to put extra effort into switching that off?
This just seems to be introducing single points of failure at the CDNs, making the server dependent on the external Internet and asking for trouble further down the line.
Is this how all modern stuff is normally coded?
Because this is what all the dev guides and tools like Google Lighthouse will literally tell you - you *must* use a CDN and you *must* load Google Analytics for your website to be worthwhile π€·
@vfrmedia Internet described in these guides ignores a whole lot of reality outside of Google ecosystem π But that's the purpose.
This is the whole point of these websites:
http://youmightnotneedjquery.com/
http://vanilla-js.com/
Otherwise you'll end with 10 lines of HTML loading 12 MB of JS and CSS only to make one div foldable...