4 ms·
I had same idea few years ago. Basically, we need a new URL scheme for this, which will be able to uniquely address files from well known sets and be backward c
by v_lisivka 8y ago
I had same idea few years ago. Basically, we need a new URL scheme for this, which will be able to uniquely address files from well known sets and be backward compatible with old browsers.
In supported browser, resource will be downloaded once and kept in cache for long period, maybe forever.
For example, `https://well-known.js/common-1.1/lib-1.2.js` https://well-known.js/common-1.1/lib-1.2.js` . Browser can download just `lib.1.2.32.js` (redirected from lib-1.2.js) every time, or it can download whole `common-1.1` bundle once and keep it in separate long-time cache until it will be deprecated And when it will be deprecated, browser will just revert to old behavior.
- coldtea 8y agoThat's a good implementation idea!