[XBL] The prefetch Element

Hi.

This is a last call comment on the XBL 2 Editor’s Draft (dated 27
October 2006).

2.14 The prefetch Element
=========================

  To make sure the images are always available, it uses a couple of
  prefetch elements.

It doesn’t ensure that they will be available, because the resource may
not be available at all, or it still may not download in time before the
binding is applied.

I’m a bit worried also that there is no normative text that explicitly
says how to process prefetch elements.  There is only:

  The prefetch element can be used to list resources that may be
  pre-loaded for performance reasons.

which does not say what the UA should do when it encounters a prefetch
element if such elements are supported.  Should the resource be fetched
when the binding document is loaded?  Or when the binding is first
applied?


  Ok, so this example is a little far fetched. So are most of the
  examples in this spec. They’re just examples!

This also does not have a tone appropriate for a technical
specification.  I suggest something like:

  While this example is contrived, it does demonstrate the use of the
  prefetch element to increase the chance that the green.png image will
  be available to display when the button with label “green” is clicked.


Thanks,

Cameron

-- 
Cameron McCormack, http://mcc.id.au/
 xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

Received on Thursday, 7 December 2006 10:31:11 UTC