W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

Re: [whatwg] Bandwidth media queries

From: Kornel Lesiński <kornel@geekhood.net>
Date: Thu, 17 May 2012 12:27:14 +0100
To: whatwg@lists.whatwg.org
Message-ID: <op.wef93opdte2ec8@aimac.local>
On Wed, 16 May 2012 19:48:04 +0100, Matthew Wilcox  
<mail@matthewwilcox.com> wrote:

> First off I know that a number of people say this is not possible. I
> am not wanting to argue this because I don't have the knowledge to
> argue it - but I do want to understand why, and currently I do not.
> Please also remember that I can only see this from an authors
> perspective as I'm ignorant of the mechanics of how these things work
> internally.
>
> The idea is to have something like:
>
> <link media="min-bandwidth:0.5mps" ... />
> <link media="min-bandwidth:1mps" ... />
> <link media="min-bandwidth:8mps" ... />
>
> This make an obvious kind of sense to an author.

What would happen in this scenario:

I'm in a cafe with free WiFi browsing on my phone, I have 8mbps bandwidth.  
I open the page and read it (it could be a webapp or a long article that  
stays open for a long time).

I leave the cafe, my bandwidth drops to 1mbps, but I still have the same  
page open.

Should the design change? Should the browser throw away all high-res  
images it has downloaded and re-download them in poor quality?

What when I reload or browse to a next subpage? My browser still has  
high-res images in the cache. Should it now apply low-end design and  
re-download all images in poor quality?

-- 
regards, Kornel
Received on Thursday, 17 May 2012 11:27:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT