Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
schkkd
· 6y ago · 0 comments
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.
Comments
[–]
speedgoose
6y ago
They aren't though. You have a cache.
[–]
the_other
6y ago
Facebook release multiple times a day (or they did), so the browser cache is irreLevant.
[–]
victorvation
6y ago
As mentioned in the blogpost, they use code splitting and bundle hashing to actually maximize usage of browser cache.
[–]
pier25
6y ago
If you have code splitting many chunks will remain the same.
[–]
randall
6y ago
There's a bunch of ways FB mitigates this.
[–]
the_other
6y ago
Thanks siblings, for letting me know about FB’s use of code splitting and how it helps caching.
[–]
foota
6y ago
I would bet that js bundling and splitting might prevent that from being true?
[–]
speedgoose
6y ago
Perhaps but thankfully not all webapps are like Facebook.
[–]
mgraczyk
6y ago
Not so, refresh the page to see how large the second download is (much smaller)