News for hackers. Stuff that matters.
Re:Removing HTTP/2 Server Push from Chrome by aaaaaaaaaaab on Friday August 19, 2022 @03:12PM (#32524945)
Yawn…

Strawman argument.

I just want to read a damn article. Why does it need to download hundreds of resources from dozens of origins? Reading a PDF article on my desktop touches exactly one file, the PDF. Ok, maybe some dylibs from the OS related to PDF rendering. But surprise! Browsers already have everything built-in for HTML rendering! No need to download an HTML rendering engine, because it’s already there: it’s the browser!

Re:Removing HTTP/2 Server Push from Chrome by vbezhenar on Friday August 19, 2022 @05:01PM (#32525855)
Basically because site owner wants to monetise your visit. Those who don't want to monetise you, usually don't put loads of trackers, ads and other stuff which is main reason of those hundreds of requests.
Re:Removing HTTP/2 Server Push from Chrome by staticassertion on Friday August 19, 2022 @05:28PM (#32526145)
Why is multiple files worse than one? PDF is an insanely complex format, I don't think the argument of "I can just read a PDF file" is strong.
Re:Removing HTTP/2 Server Push from Chrome by LtWorf on Friday August 19, 2022 @07:48PM (#32527494)
Because multiple files require multiple roundtrip times, more connections, and the total amount of data is higher because of all the waste that happens with headers.
Re:Removing HTTP/2 Server Push from Chrome by bruce511 on Saturday August 20, 2022 @03:15AM (#32529963)
The headers are not the wasteful part. Headers are typically in the low-hundreds of bytes. This extra data is insignificant as "waste" compared to the request/response content.

The real waste is in the time it takes to create and destroy the connection. (hence why http/3 switched to UDP, and also why multiplexing is a thing.)

Thing is, combining js and css on the server side into 1 file pretty much negates this speed benefit. I've been building sites this way forever, and performance is great. First page takes longer, but then those files are in the cache anyway.

The actual problem is Ads. They require tracking, and of course displaying. If you're looking for waste, or indeed why a server would bother with http/3 then look no further. No ads, no problem.

Unfortunately for those sites that rely on advertising for revenue, I don't have an alternative suggestion. I get it, ads pay for lots of the Internet I "browse". I'm not a fan of pay walls and subscriptions.

So http/3 is a solution to an economic reality - and really only benefits the ad-supported Web - but for them it is important.

Re:Removing HTTP/2 Server Push from Chrome by LocalH on Saturday August 20, 2022 @11:02AM (#32532517)
I/O. An anecdote. A friend of mine was modding a 360/PS3 game recently. He was trying to animate a texture by cycling through an image sequence. The first attempt read every image from disk each time, and ate shit. The second attempt pre-loaded them all, and it works perfectly fine