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