3 ms·
It may make a huge difference for their servers, that can generate 2kB of data and send you right away, instead of generating the entire 115kB before they can s
by marcosdumay 6y ago
It may make a huge difference for their servers, that can generate 2kB of data and send you right away, instead of generating the entire 115kB before they can send it.
Those 2kB is a bit too small for top network performance, so you may see a negative impact. But if they increase it to something like 10kB, it's harmless.
- banana_giraffe 6y agoI can get it sometimes, but some sites are just bizarre. twitter.com sends out a few dozen 74 byte chunks. I can't find it now, but I've seen pages composed of chunks of 10 or 20 bytes big. So much overhead.
- marcosdumay 6y agoSome frameworks make it really easy to create reusable code that calculates something, pushes it into the network, and returns to the rest of the page. You are right that it's not a great thing to do. A little bit of buffering on the sender can improve things a lot. But it's an easy thing to do, so people do it.