4 ms·
JS and CSS libraries can be cached so that in theory you only need to download it once for several apps. The large file size with Js apps is more commonly the a
by roryisok 8y ago
JS and CSS libraries can be cached so that in theory you only need to download it once for several apps. The large file size with Js apps is more commonly the app itself, transpiled for older browsers using Babel. That makes for some massive code. But changes are coming. Webpack can compile separate versions for es6 compatible and incompatible browsers so only IE need download the monster Js file and chrome and Firefox can have light code of just a few hundred kb