4 ms·
It would be nice to have a protocol where the HTTP client can say "I'm on a limited connection, give me the good stuff" - as often I only need a few kilobytes o
by bombcar 5y ago
It would be nice to have a protocol where the HTTP client can say "I'm on a limited connection, give me the good stuff" - as often I only need a few kilobytes of data but I cannot view them until the entire multi-megabyte site finishes downloading - which it never does.
Of course it would immediately be abused to mark advertisements as "high priority".
- thatguy0900 5y agoI think that could only be implemented on a browser. Firefox has a good reader mode, so like a reader mode only mode.
- klyrs 5y agoI use ff mobile, and sadly, many sites break reader mode. Especially paywall sites have gotten smart -- if you view an article in reader mode, it will display a different article instead of the one you meant to read
- chrisfinazzo 5y ago"Reader" modes mostly seemed to fill this gap in browsers when all you were dealing with was text. However, Google (AMP) and Facebook (Instant Articles) attempts to apply this model to all browser content were largely failures. We can debate whether this was due to the fact that both companies get most of their revenue from ads (probably correct) or just that the protocols were made to appease publishers - and content owners more generally - as opposed to the people who actually read websites who vastly outnumber the former two groups. On the plus side, it does bring a feeling of satisfaction that with things like Create React App, I can send a really small payload to my server (~60 LoC) and have a site come out on the other end.
- onion2k 5y agoThis exists already. There's a 'downlink' client hint in Chromium that can inform the server what bandwidth the user has available[1]. The server can then use that information to tailor what it delivers to the browser. It wouldn't be that hard to add a dropdown or a dialogue to let the user set the value manually. There's also a less fine-grained "save-data' hint that just asks for a smaller download[2]. Very few websites bother to use these features. [1] https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/client-hints#downlink https://developers.google.com/web/fundamentals/performance/o... [2] https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/client-hints#save-data https://developers.google.com/web/fundamentals/performance/o...