5 ms·
That's pretty much size of a mobile app. But the thing with web apps is that they are downloaded every time and hence the outcry.
by schkkd 7y ago
That's pretty much size of a mobile app. But the thing with web apps is that they are downloaded every time and hence the outcry.
- speedgoose 7y agoThey aren't though. You have a cache.
- the_other 7y agoFacebook release multiple times a day (or they did), so the browser cache is irreLevant.
- speedgoose 7y agoPerhaps but thankfully not all webapps are like Facebook.
- foota 7y agoI would bet that js bundling and splitting might prevent that from being true?
- randall 7y agoThere's a bunch of ways FB mitigates this.
- pier25 7y agoIf you have code splitting many chunks will remain the same.
- victorvation 7y agoAs mentioned in the blogpost, they use code splitting and bundle hashing to actually maximize usage of browser cache.
- the_other 7y agoThanks siblings, for letting me know about FB’s use of code splitting and how it helps caching.
- mgraczyk 7y agoNot so, refresh the page to see how large the second download is (much smaller)