W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2014

Re: [whatwg] exposing dependencies + weights (aka, priorities) to web developers

From: Ben Maurer <ben.maurer@gmail.com>
Date: Fri, 15 Aug 2014 09:44:37 -0700
Message-ID: <CABgOVa+PSBna80E5DXO8q49ogGmODiphHozK+t3Gj-DQsXK1sg@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: Ilya Grigorik <igrigorik@gmail.com>, WHATWG <whatwg@whatwg.org>
Some cases I can think of off the top of my head:

- A website has a page where media is the primary content. It would like to
make sure that media is downloaded before JS (example: you go to
flicker.com/my-image, the browser should probably prioiritize that image
over a pice of javascript that is not critical to the user's interaction
with the page).

- A website knows there's a piece of Javascript code that the user might
need if they click on a part of the page. The developer would like to have
the user download it, but not at the expense of other resources.

- A website is prefetching photos in a photo album and would like to make
sure these images are lower priority than images the user is actually

On Fri, Aug 15, 2014 at 9:17 AM, Ian Hickson <ian@hixie.ch> wrote:

> On Thu, 14 Aug 2014, Ilya Grigorik wrote:
> >
> > Trying to hash out some ideas for how to connect Fetch and the new
> > transport capabilities of HTTP/2.
> It would be great to get a set of use cases describing what your proposal
> is addressing, since that would more easily let people evaluate whether
> it's worth doing, and if so, whether this proposal does it.
> --
> Ian Hickson               U+1047E                )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 15 August 2014 17:09:19 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:22 UTC