Should we worry about this specific size threshold when making calls between services on kubernetes or the kubernetes ecosystem is smart enough to avoid this slow start problem ?
A 14kb page can load much faster than a 15kb page
231–240 of 356 posts
Re: A 14kb page can load much faster than a 15kb page
#232Earlier quoted context omitted.
We create 40kg of CO2 a day each through our diet, transport, consumption and other energy use. The idea we need to target our energy burden on Internet routers is absurd.
14 tons per year is pretty high. Most calculators estimate my usage at 6 tons per year.
Re: A 14kb page can load much faster than a 15kb page
#233Re: A 14kb page can load much faster than a 15kb page
#234Mostly, the only effect of bigger download sizes is a higher chance for things to go wrong on flaky networks (e.g. on mobile) and a slight delay with the application initializing. On the first visit. The second visit, you can have all the assets cached and it matters much less. At that point the only thing slowing you down is what the application does.
It's 2022. An article arguing how to get the most out of obsolete versions of HTTP (Download size is probably the wrong thing to focus on for most applications. I get it, engineers are deeply passionate about optimization and minimalism. And I appreciate what can be done with very little CSS and HTML from a technical point of view. But it's just not relevant to me on my work projects. I'd rather spend time on adding value than obsessing over saving a few kilo bytes here and there. People pay for one thing and barely even notice the other thing.
I ship a quite bloated SPA to customers. It comes in around 10MB and takes a couple of seconds to get going. It's fine; it's not a problem. I could double that size and nothing would happen. Nobody would complain. We sell it for lots of money because of what it does, not because of how large or small it is. The value of halving that size is close to 0$ for us. The price of doubling the size is also close to that. The price of sacrificing features on the other hand would be a massive loss of value. Our sales team would object. And yes, we use a Google Cloud's load balancer and their CDN that does all the right things. If it mattered, I might find slightly faster options. But it just doesn't.
And 10MB is actually not that bad on a decent network and nothing compared to what our application does after it loads in any case. Which would be doing lots of json API traffic, downloading map tiles and images, etc. In short, if you are not on a good network, using our app is going to suck. The initial download size would be the least of your problems in that case. And if you are on a decent network, the app loads quickly and feels very responsive. Our app simply requires a decent network. And decent networks are a widely available commodity.
Re: A 14kb page can load much faster than a 15kb page
#235https://blog.cloudflare.com/when-the-window-is-not-fully-ope...
I recently wrote a piece about specifically this mechanism (though looked from the receiver side).
Basically on linux you can work around this initcwnd limit (if you have to, for whatever reason), by tuning buffer sizes, initcwnd obviously, and rcv_ssthresh.
Re: A 14kb page can load much faster than a 15kb page
#236Re: A 14kb page can load much faster than a 15kb page
#237Earlier quoted context omitted.
i too use an icon font, but if you want images you should use a spritemap. it shouldn't be sluggish.
I write a framework, not an app. In any event, I need to allow others to style my icons with their own colors. Hence I use a font. Is there a way to use SVG sprites or something, while also letting people control the stroke color with css? Seems yes: dont put CSS in the svg. But why not just use a font? https://stackoverflow.com/questions/37940282/changing-the-st...
But the "wrong tool for the job" point still stands, users with custom fonts disabled (for performance or accessibility reasons) will not be able to see your icons.
Re: A 14kb page can load much faster than a 15kb page
#238Re: A 14kb page can load much faster than a 15kb page
#239Re: A 14kb page can load much faster than a 15kb page
#240Earlier quoted context omitted.
I normally deal with 720P images for internet distribution. For 3000x2000 that would be around 230KB to 250KB.
3000x2000 basically means "fullscreen on a retina display @ full resolution". You can only reasonably show one picture like that at a time. So it's completely OK to have the currently displayed picture at that resolution/size. But all photo should be loaded at a much lower size, initially, and only downloaded at full size the the user puts them in full screen.