5 ms·
> as little as possible I just opened FB with the cache disabled and it downloaded 5.85MB (19.76MB uncompressed). Most of it happens after the page has render
by pier25 7y ago
> as little as possible
I just opened FB with the cache disabled and it downloaded 5.85MB (19.76MB uncompressed).
Most of it happens after the page has rendered, which is great, but that's a lot of stuff. There are 13.74MB of uncompressed JavaScript.
- panta 7y agoStealing data about the users as accurately as possible requires more code than one would think.
- dylkil 7y ago>Stealing data about the users its not stealing when the users agreed to it
- infogulch 7y agoUsing a website does not imply informed consent.
- xd1936 7y agoNo, but signing up for an account and agreeing to the Terms of Service does. The not-logged-into homepage is 1.3mb. Still not tiny, but definitely not the same as the web app.
- AlexandrB 7y agoNo it doesn’t. Informed consent is not the same as shoving a ToS/EULA in front of someone who may not have the legal or technological education to understand it or its consequences. From the Wikipedia definition[1] of informed consent (in medicine): > An informed consent can be said to have been given based upon a clear appreciation and understanding of the facts, implications, and consequences of an action. Adequate informed consent is rooted in respecting a person's dignity. To give informed consent, the individual concerned must have adequate reasoning faculties and be in possession of all relevant facts. What tech companies do is obtain the minimum legally required consent - and sometimes not even that. This may be legal, but it’s far from ethical. [1] https://en.m.wikipedia.org/wiki/Informed_consent https://en.m.wikipedia.org/wiki/Informed_consent
- ianmobbs 7y agoFortunately, Facebooks ToS[0] is not full of legalese or jargon, and I'm sure anybody with enough technological education to sign up for Facebook can understand it too. [0] https://www.facebook.com/terms.php https://www.facebook.com/terms.php
- Endlessly 7y agoQuick read of it and it is obvious that document likely cost millions for Facebook to produce and with the aid of countless hours of legal professionals who in sum likely have 1000s of years of legal experience. Claiming the average person is able to understand scope of that document— and the likely 1000s of internal documents related to it, and the 100s of thousand pages of related legal code and case law is a stretch. Document also does not disclose Facebook is subject to secret court orders, gag orders, etc. — and that doesn’t even begin to cover the knowledge required to understand the related technology and the impact it might have on the users.
- LadyCailin 7y agoHuh. Sex offenders aren’t allowed to use FB.
- bzb3 7y agoWith a standard 4G/FTTH connection that's less than one second of download time.
- edhelas 7y agoEveryone have 4G and Fiber, and a Core i7 and 16Gb of RAM :) Seriously…
- bzb3 7y agoThat's not what I've said, and I somewhat agree with the original point, but this trend of wanting to cater to the lowest denominator rubs me the wrong way. Some guys think the web should be usable with a 50€ smartphone on GPRS, and I say no, because there's a middle ground.
- nromiun 7y agoHow about just caring for the real world instead of the numbers provided by the internet provider? Those download numbers are for the best case scenario. And unlike broadband 4G is not reliable at all.
- pier25 7y ago> because there's a middle ground So where's your middle ground?
- buboard 7y agoThere is absolutely no excuse. The app is not doing protein folding, its merely showing text! Surprise, many many ppl use facebook in crap laptops, fb is popular with everyone.
- bzb3 7y agoNo, it's not merely showing text. Facebook does a thousand things more than show text. You could argue those features don't belong in Facebook, but you can't argue that features are supposed not to take up any space, because that's unrealistic.
- schkkd 7y agoThat'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.
- throwaway43423 7y agoFor reference, vscode ships as 13.3MB of uncompressed JS. (Not including builtin extensions, but that wouldn't add much)
- deleted 7y ago[deleted]