4 ms·
That's a lot a bandwidth for a single thing. Makes me wonder, perhaps we should have a global repository of popular web libraries for browsers, all of them vers
by meirelles 10y ago
That's a lot a bandwidth for a single thing. Makes me wonder, perhaps we should have a global repository of popular web libraries for browsers, all of them versioned, like happens on npm/bower. It's possible be backwards compatible with old browsers using a real and standardized URL. A single source of the truth. It's better than many CDNs providing the same thing over and over again... Being immutable packages browsers do not need check for updates (no more waste with 304 responses).
- keville 10y agoYou're not the first to think this is a good idea. I can think of a few [1][2][3] examples just off the top of my head. [1] https://developers.google.com/speed/libraries/ https://developers.google.com/speed/libraries/ [2] https://www.jsdelivr.com https://www.jsdelivr.com [3] https://cdnjs.com https://cdnjs.com