2 ms·
It's not black-and-white. More of a balance kind of thing. Bundling everything together is best, unless the cases where it isn't and you need some kind of file
by whatever_dude 10y ago
It's not black-and-white. More of a balance kind of thing.
Bundling everything together is best, unless the cases where it isn't and you need some kind of file to be shared globally. Not necessarily in a global WEB context; just the site's own context works too. You want assets to be cacheable.
Regardless, big libraries on CDN's don't make as much sense nowadays as it did maybe 5 years ago. It's not like everybody is still using jquery. There's too many different mainstream libraries, with too many versions.