4 ms·
Can't you just download the js file and save it next to your html files and then link to it from your html?
by aembleton 2y ago
Can't you just download the js file and save it next to your html files and then link to it from your html?
- jampekka 2y agoFor many assets yes, and it's something I do quite regularly. But many assets (especially CSS) rely on relative files - and we have apparently collectively decided that directories or other bunches or files is somehow a totally different thing than a file and need fundamentaly different logic - so just using the CDN makes you not have to worry about this.
- rawbot 2y agoYes, of course. I think he means all the to manage a big project's dependencies. For a small or static website, you could manage all of those manually.