News for hackers. Stuff that matters.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by zackbrown on Tuesday May 07, 2019 @05:53PM (#19853793)
Has Flutter solved its footprint-bloat problem?

The internet is littered with reports of 10-100MB+ .ipa and .apk binaries coming out of simple Flutter apps for iOS + Android. Google states they can't imagine the footprint ever dropping as low as 1MB. [1]

On Web, 1MB of base runtime is a complete showstopper. Embedded applications may suffer similarly.

Does today's announcement mean Google has figured out how to fix this for Web, or are just ignoring it? Or worse — are they planning to 'boil the frog' with a sneaky transition into a world of a New Flash Player?

> 1MB of Flutter runtime got you down? Don't worry, Flutter Player now ships with Chrome.

This is possibly a very dark direction for the Web, of which Google is a powerful steward.

[1] https://github.com/flutter/flutter/issues/12456#issuecomment...

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by michaelchisari on Tuesday May 07, 2019 @05:55PM (#19853815)
I tested it, and the "Hello, World" example results in a 560k js package.

Uglified and minified takes it down to around 480k.

Gzip takes that to 140k and Brotli compression to 100k.

That's a lot to bootstrap an app with, but it's not unreasonable, considering what most frameworks these days will start you with.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by leeoniya on Tuesday May 07, 2019 @06:40PM (#19854097)
it's not just what goes over the wire. that's 560k of JS that has to be parsed and compiled, which is a shitload.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by est31 on Tuesday May 07, 2019 @07:11PM (#19854306)
May I introduce to you: preparsed Javascript sent over the wire: https://github.com/binast/binjs-ref
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by chrisseaton on Tuesday May 07, 2019 @07:21PM (#19854383)
Isn’t that just an AST? That still has to be parsed and compiled. It just makes parsing a bit faster.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by est31 on Wednesday May 08, 2019 @08:20AM (#19858113)
From the README:

> Current advanced prototypes already show JS parsing improvements of 30%-50% on all the most common frameworks, just by changing the format, and we believe that we can increase this improvement much further.

30% is more than a bit :).

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by chrisseaton on Wednesday May 08, 2019 @08:30AM (#19858175)
I’ve worked professionally on pre-parsing and 30% is not a great result.

And it doesn’t help the time spent on compiling, so it’s saved not a lot of not a lot. Doesn’t really solve the problem.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by michaelchisari on Tuesday May 07, 2019 @06:43PM (#19854120)
True, but (unfortunately) it's hardly an outlier in today's ecosystem.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by zackbrown on Tuesday May 07, 2019 @07:30PM (#19854431)
Try importing `flutter/animation` — footprint goes WAY off the deep end. `animation.ddc.js` is 4.4MB alone (unminified), never mind the rest of the runtime AND userland application code.

You can see this in the flutter_web/examples/gallery example. [`webdev build` failed for me in examples/gallery, so I'd love to see what a successfully minified version of that example looks like — I'm currently deeply skeptical.]

Compared to React/Vue/Angular and friends, this appears to be a monstrous outlier.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by mraleph on Wednesday May 08, 2019 @03:46AM (#19856725)
DDC stands for Dart Development Compiler. It is a fast modular compiler that you use for quick edit&refresh development in the browser. It does not do any global optimizations, unlike dart2js - which is what you use for deployment.

If you write something like:

    import 'package:flutter_web/animations.dart';

    void main() => print('Hello, World!');
DDC would faithfully compile animations.dart as whole and ship that to your browser.

dart2js would include 0 bytes of code from animations.dart into the output.

> `webdev build` failed for me in examples/gallery

Maybe file a bug?

Here is what I get for Gallery:

    ╭─~/s/f/f/e/gallery ⟨master ⟩ ⟨9s449ms⟩
    ╰─» flutter packages pub global run webdev build
    ...
    Compiled 18,344,245 characters Dart to 1,914,077 characters JavaScript in 27.9 seconds
If I gzip the output I get around 500k.

Gallery uses a lot of Flutter so this is in some sense upper boundary for framework overhead.

Also it is still early days - I can clearly see this pushed down.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by miyoyo on Tuesday May 07, 2019 @07:38PM (#19854493)
DDC is not at all a representation of the final size of the code, as it doesn't run any kind of tree shaking, minification or optimization, and the animation library has a lot of things that you will definitely not import.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by tracker1 on Wednesday May 08, 2019 @02:20AM (#19856328)
And here I am freaking about an uncompressed js payload of 300k for an entire app... 4+MB just feels crazy.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by Aeolun on Tuesday May 07, 2019 @08:31PM (#19854780)
Yes, but it’s more or less in line with current single page apps. In fact, quite possibly a bit smaller.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by leeoniya on Tuesday May 07, 2019 @09:06PM (#19854980)
not sure how many "Hello, World" SPAs would add up to that.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by RussianCow on Wednesday May 08, 2019 @01:30AM (#19856098)
The point is, real world apps have a bit more complexity than "hello, world", and the runtime cost doesn't matter as much as the app grows in size.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by dfischer on Tuesday May 07, 2019 @08:39PM (#19854831)
I'd add that the connotation of an angulardart app isn't a simple SPA. It's meant for larger applications. I have been using it for the past year and a half and really enjoy it. The compiling times have been improving with each release.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by StreamBright on Wednesday May 08, 2019 @03:10AM (#19856553)
I think the "fix" is not to accept the state of play but to challenge it.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by mevile on Tuesday May 07, 2019 @07:04PM (#19854252)
Sounds the platform needs some tree shaking.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by jjnoakes on Tuesday May 07, 2019 @06:28PM (#19854024)
The sizes closer to 100MB seem to be from debug builds. From the bug you linked (and this one which it links to: https://github.com/flutter/flutter/issues/16833), bare flutter apps are around 4MB on Android.

Doesn't seem bad to me.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by Hixie on Tuesday May 07, 2019 @07:20PM (#19854370)
(I'm the Flutter TL.)

According to today's benchmark numbers, we're at 4414KB on Android and 8572KB on iOS (IIRC, iOS encrypts before compressing so it can't get as good a compression).

This is for our Hello World test app (https://github.com/flutter/flutter/blob/master/examples/hell...), which is more or less the smallest app you can imagine building with Flutter unless you bypass the entire framework and only use the engine directly.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by cornstalks on Tuesday May 07, 2019 @07:40PM (#19854503)
Fellow Googler here. I think it’s best to report those numbers with the appropriate SI prefix: 4.414 MB and 8.572 MB. Reporting numbers as “X thousand kilobytes” makes it harder to grok the real scale.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by zaroth on Tuesday May 07, 2019 @09:08PM (#19854993)
Pardon me making a joke at your expense cornstalks, but...

Is this what a culture that AB tests 34 shades of blue looks like?

I think we can handle the conversion here in the HN comment section!

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by abacadaba on Tuesday May 07, 2019 @09:37PM (#19855165)
fwiw, when i saw the prefix and no commas i subconsciously assumed it was under 1000KB and read it wrong, until that comment made me take another look.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by typeformer on Wednesday May 08, 2019 @02:38AM (#19856398)
Ha, at first I thought "cornstalks" was a new slang reference for Googlers and was just over my head.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by zaroth on Wednesday May 08, 2019 @03:45PM (#19862200)
Well if it wasn’t, it certainly is now. Thanks for that typeformer.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by Faark on Wednesday May 08, 2019 @09:10AM (#19858475)
Also please be aware not all locals use "." as thousands separator. About half of the world [0], including we here in Germany, actually uses the dot as decimal separator. Thus your number "4.414 MB" actually looks confusingly close like ~4.41 GB to me on first sight. An easy way to avoid this is to not rounding to three digits after your only dot or comma.

[0] https://en.wikipedia.org/wiki/Decimal_separator#Arabic_numer...

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by Hixie on Wednesday May 08, 2019 @01:30AM (#19856100)
Sorry, I just copied and pasted the number as it appears on our benchmark page. :-)
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by skybrian on Tuesday May 07, 2019 @07:52PM (#19854586)
Hmm, encrypting before compressing seems like a pretty strange decision. How does that happen?
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by stock_toaster on Wednesday May 08, 2019 @01:44AM (#19856162)
I believe the literature says that compress before encrypt is less secure, because compression behaves predictably. See CRIME attacks.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by skybrian on Wednesday May 08, 2019 @03:30AM (#19856640)
But, why compress at all then? It won't do anything.

I'm not sure this is a good enough reason to never compress anything.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by e12e on Wednesday May 08, 2019 @05:38PM (#19863233)
Maybe they encrypt with rot13. Compression should work on such a "ciphertext"...
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by Andrex on Tuesday May 07, 2019 @07:34PM (#19854462)
To clarify to anyone else who may have been confused as I was: the "quoted" text in the parent post is not an actual announcement from the source URL or anywhere else, but a hypothetical future situation.

Almost gave me a heart attack.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by magicalist on Tuesday May 07, 2019 @06:30PM (#19854037)
> This is possibly a very dark direction for the Web

Yes, that imagined dark direction for the web is indeed very dark.

Call it too big to ship reasonably, but Chrome didn't ship an Angular player or Polymer player, so I don't see what suggests they'd start now.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by tiles on Tuesday May 07, 2019 @09:49PM (#19855226)
Didn't they ship a Dart VM?
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by RussianCow on Wednesday May 08, 2019 @01:31AM (#19856107)
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by jwiley on Tuesday May 07, 2019 @06:04PM (#19853878)
'main.dart.js' in the example Flutter KENKEN app linked in the blog post:

Chrome - 359kb

Firefox - 990k

I agree that Chrome is becoming more and more a proprietary channel for Google products, which is probably what its original intent was all along.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by mraleph on Tuesday May 07, 2019 @06:29PM (#19854029)
It's actually the very same main.dart.js (dart2js compiler does not have ability to target a specific browser, its output is supposed to work in every supported browser).

359kb is its compressed size, 990k is its uncompressed size.

Firefox shows compressed size in the "Transferred" column and uncompressed size in "Size" column.

In Chrome by default you see compressed size only, but if you click "Use large request rows" then you will see both compressed and uncompressed size.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by kaycebasques on Tuesday May 07, 2019 @10:32PM (#19855438)
Use large request rows in Chrome DevTools to see transfer size and uncompressed size: https://developers.google.com/web/tools/chrome-devtools/netw...

Disclosure: DevTools technical writer

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by cmroanirgo on Tuesday May 07, 2019 @06:19PM (#19853971)
That's a very large payload difference indeed!
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by Godel_unicode on Tuesday May 07, 2019 @06:43PM (#19854122)
See other comments, they're actually the same file. The heading names in developer tools are just slightly different.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by merb on Tuesday May 07, 2019 @06:24PM (#19854003)
to be fair even angular has sizing problems. a "simple" app can easily grow to over 200kb gzipped content (including polyfills). and 200kb is a lot for a simple application.

currently our "big" application already grown to over 600kb gzipped js. I'm pretty sure flutter has the same problem. I think as soon as people start using a SPA their js size will skyrocket.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by westoque on Tuesday May 07, 2019 @06:46PM (#19854141)
I don’t understand the obsession with small binaries and compiled packages. I care about usability and user experience. If it takes 5mb to have a smooth experience then I’m all for it.

It’s funny how we now have fiber having 1GB/s internet speeds and we rant about having 1MB size package being too big. Also, everyone’s moving to 4k now with even bigger transfer/data requirements.

tldr; 1mb should be a non issue as long as experience improves.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by saagarjha on Tuesday May 07, 2019 @06:50PM (#19854174)
> It’s funny now that there’s fiber having 1GB/s internet speeds, we rant about 1MB size package.

Half the people in the world probably struggle to have access to a 10 Mb/s connection. Even I go to places with connections that are tenuous at best.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by Hixie on Tuesday May 07, 2019 @06:59PM (#19854232)
(I'm the Flutter TL.)

Yeah, I was just writing a design doc earlier today and my math for how big a download we could reasonably expect users to wait for was based on a 5Mbit/s download speed. Half a megabyte takes under a second at that speed, but 5 megabytes takes more like 8 seconds. That's a huge difference. In an environment like the Web, where ephemerality is the norm, you really have to stay below 1MB from what I can tell.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by codedokode on Wednesday May 08, 2019 @01:38AM (#19856130)
Also please consider how many seconds will it take for a cheap Android phone to parse 5 Mb of JS (and how much memory it would take after parsing, which can be up to 10 times more that original code size). I think it can become much more than 8 seconds, and during parsing the browser will likely become unresponsive.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by tracker1 on Wednesday May 08, 2019 @02:32AM (#19856380)
Should try all your Dev and browsing on a 2gb low end Chromebook, and last gen lower end phone for a couple months. Then see how you feel about it all.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by joking on Wednesday May 08, 2019 @05:28AM (#19857219)
I develop apps for tvs, so size and performance matters a lot since they are a lot of tvs already shipped with low end SOCs. newer ones are more powerful, but people doesn't change tv as frequently as phones.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by AlphaSite on Tuesday May 07, 2019 @09:15PM (#19855032)
All of this takes memory. Also i do a lot more than use some crappy flutter calculator.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by sandGorgon on Tuesday May 07, 2019 @09:28PM (#19855110)
India. Next billion users.

Size matters a lot.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by tracker1 on Wednesday May 08, 2019 @02:30AM (#19856366)
It's not just the transfer... It's the compile, load and perceived speed. 1mb compressed and gzipped can be a hundred MB parsed and in memory. Which isn't bad on a modern mid level desktop, but it's crazy on a lower end smart phone.

There are also other factors to consider. I'm not huge in premature optimization, but damn.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by westoque on Tuesday May 07, 2019 @07:13PM (#19854321)
I think there’s a middleground there that if you want to support these countries then there should be a framework for this (Flutter Lite?).. But if you want the complete feature set that is “bloated” but has good ux/ui support then that should be fine as well.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by vturner on Tuesday May 07, 2019 @09:08PM (#19855001)
"these countries"? I've seen schools in the US with 15 mb/s My mothers, Xfinity, has a low tier, 25mb/s.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by Swalden123 on Tuesday May 07, 2019 @09:14PM (#19855028)
A lot of Australia is still stuck on ADSL with speeds of 5 - 20Mb if your lucky
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by Hixie on Wednesday May 08, 2019 @01:37AM (#19856126)
(I'm the Flutter TL)

Our current plan is to support the complete feature set while still supporting places with connectivity around 5Mbit/s. We are still in very early stages (we only just put out the tech preview today!) but we have some confidence that this is possible. Personally I'm more worried about the performance of layout animations (e.g. resizing paragraphs) than about download size, but again, it's early days still.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by ryandvm on Tuesday May 07, 2019 @06:56PM (#19854209)
I don't think it's the actual file sizes that people object to so much as all the redundancy and inefficiency that the bloat is indicative of. That is, for every increase in CPU, storage, and bandwidth; app developers insist on throwing it away with another layer of frameworks and intermediary libraries.

What Moore's Law giveth, React/Flutter taketh away...

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by tracker1 on Wednesday May 08, 2019 @02:37AM (#19856395)
There are smaller/faster ready like libraries such as preact and inferno btw. React does offer a lot of advantages though mostly for diagnostic purposes for developers.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by ChikkaChiChi on Tuesday May 07, 2019 @06:58PM (#19854221)
Faster speeds for some do not equate to faster speeds for all. This applies doubly so when bandwidth is metered and may cost the end user more money.

Abstraction for the engineer should not come at the expense of the person on the other end of the wire.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by westoque on Tuesday May 07, 2019 @07:09PM (#19854294)
I disagree. I think Ruby/Rails is a good example of this. They maximize on developer happiness but that doesn’t stop users from using a bloated rails app. Take a look at GitHub/GitLab as an example of a Rails app I guess?
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by pcr0 on Tuesday May 07, 2019 @08:06PM (#19854656)
I don't see how end users suffer from using Rails. Server side rerponse time is a very small component of page load time for most websites. It's different from being forced to download and parse megabytes of JS, which consumes CPU, battery and time.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by tracker1 on Wednesday May 08, 2019 @02:39AM (#19856400)
There's more CPU time across 1000 users' browsers than on the server. That doesn't mean you shouldn't try to minimize your load at both ends.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by TeMPOraL on Wednesday May 08, 2019 @05:23AM (#19857192)
The difference is who pays for the load.

And now that developers make the visitors pay for the load (through their electricity bill, and also through their mental state), they don't give a shit about how much the users will have to pay - and thus how much electricity will be unnecessarily wasted on a global scale.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by tracker1 on Wednesday May 08, 2019 @10:21AM (#19859017)
No offense, but you sound like Verizon charging Netflix for what users are pulling down.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by tspike on Tuesday May 07, 2019 @09:08PM (#19855000)
Not to mention your data plan
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by city41 on Tuesday May 07, 2019 @09:17PM (#19855046)
I haven’t used rails in about a decade. Is the bloat of a typical rails app on the user’s machine?
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by gbba on Tuesday May 07, 2019 @07:12PM (#19854318)
Not everyone is so fortunate to have 1GB/s internet.

Waiting for a page to load is a terrible user experience.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by geerlingguy on Tuesday May 07, 2019 @07:30PM (#19854429)
Outside of a select few cities, getting anything more than 100 mbps down is literally impossible unless you have the budget to pay a company to run fiber to your home (at least tens or hundreds of thousands). And outside of major cities, 10 mbps might be the best you can get.

Not to mention there are a thousand situations even inside of the major cities where a few mbps (if that) is all you can muster.

I for one hate pages that take minutes to load... and it happens a lot more than you’d hope.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by zeitg3ist on Wednesday May 08, 2019 @03:54AM (#19856754)
...in the US? Here in Europe I’m paying 30 euro/month for 200 megabit down (just 20 up, though), and I live in a 50k people town.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by ubercow13 on Wednesday May 08, 2019 @04:54AM (#19857051)
Even in London I think some places only get 10Mbps
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by fauigerzigerk on Wednesday May 08, 2019 @07:35AM (#19857843)
I'm getting 32 mbps from BT for £52.49. My O2 mobile internet hardly works at all. London really has terrible internet infrastructure. I wouldn't be surprised at all if some people got no more than 10 mbps as you say.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by zimpenfish on Wednesday May 08, 2019 @08:49AM (#19858314)
> London really has terrible internet infrastructure.

I think it probably has average infrastructure shared over too many connections. If I do 4G speed tests up north, it's always way faster but there's also way fewer people trying to use it concurrently...

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by fauigerzigerk on Wednesday May 08, 2019 @09:56AM (#19858817)
>I think it probably has average infrastructure shared over too many connections.

Which makes it indistinguishable from terrible infrastructure :)

More people sharing the infrastructure also means more people paying for it. So in terms of value for money London's internet infrastructure is terrible even by your very lenient definition.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by zimpenfish on Wednesday May 08, 2019 @08:48AM (#19858309)
My old place was getting 12-16Mbps over ADSL despite being only 400yds from the exchange. Fibre improved that slightly to 20-25Mbps.

(New place has 1Gbps fibre - average is about 300-350Mbps during peak times, 800Mbps+ in quiet times.)

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by dkersten on Wednesday May 08, 2019 @07:04AM (#19857672)
I have gigabit internet and the web is still dog slow. It got a good bit faster when I started blocking third party garbage, but it still doesn't feel any faster than it was in the early 2000's, despite that my internet is literally 17,000 times faster and my computer is also tons faster.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by vonseel on Wednesday May 08, 2019 @05:43PM (#19863262)
This has also been my experience, uBlock origin improved performance on many websites (and also clues me into how many unnecessary connections by analytics and tracking servers are made by so many sites). It is mind boggling to see sometimes 250+ blocked requests on the badge for a news article.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by dkersten on Thursday May 09, 2019 @08:08AM (#19867451)
Yeah. I started very aggressively blocking all third party stuff and then I manually whitelist things as needed. Its crazy how many requests some sites make, for stuff that has no impact on the content I actually want.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by s_y_n_t_a_x on Tuesday May 07, 2019 @07:35PM (#19854470)
Test on a phone, anything over 1MB will lock up the script parser for a few seconds.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by carmate383 on Tuesday May 07, 2019 @11:39PM (#19855678)
The irony is, the same people complaining about 500kb are probably the same people using a 100MB+ terminal emulator built using a web browser (i.e. hyper).
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by tracker1 on Wednesday May 08, 2019 @02:41AM (#19856414)
You don't download the entire app every time you change directories like you do navigating between sites in a browser.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by carmate383 on Wednesday May 08, 2019 @03:22AM (#19856611)
If you're sending JavaScript down the line with every request, you're doing it wrong and should give up your career.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by tracker1 on Wednesday May 08, 2019 @11:00AM (#19859440)
When you go to a new website, it doesn't download anything?
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by carmate383 on Thursday May 09, 2019 @02:04AM (#19865789)
NEW website. As in, ONCE and FIRST TIME.