[whatwg] RWD Heaven: if browsers reported device capabilities in a request header

Mounir Lamouri mounir at lamouri.fr
Wed Feb 8 01:15:16 PST 2012


On 02/07/2012 10:19 PM, Charles Pritchard wrote:
> On 2/7/2012 1:14 PM, Matthew Wilcox wrote:
>>> >  Also, I am writing this on a laptop via a throttled mobile
>>> connection.
>> It'd be nice if sites had the capability to adapt to that throttle
>> then wouldn't it...
> 
> As I read through this thread -- all of these use cases are about
> bandwidth.
> 
> a) Images are too big.
> b) Too many javascript files.
> c) Too much html content.
> 
> The proposed fix:
> a) Send a display size header, have the server do magick.
> 
> That doesn't seem to be the right approach.
> 
> Let me know if I've got that right / wrong.
> 
> I'm fine with sending a bandwidth-request header.
> Something to say: hey you, I'm on a metered connection, don't waste my
> time.
> Or just, hey, this connection is slow, give me a hand here.

FWIW, Network Information API (in DAP WG) might include those
information in a JS API.

--
Mounir



More information about the whatwg mailing list