W3C home > Mailing lists > Public > public-web-perf@w3.org > June 2011

Re: Further concerns with PageVisibility

From: Sreeram Ramachandran <sreeram@google.com>
Date: Wed, 15 Jun 2011 10:30:02 -0700
Message-ID: <BANLkTikxnEZ+64JtXcaxk3=pnoEnWPz8E4tbfw_ov52SowaB=A@mail.gmail.com>
To: Kyle Simpson <getify@gmail.com>
Cc: public-web-perf@w3.org
On Wed, Jun 15, 2011 at 10:11, Kyle Simpson <getify@gmail.com> wrote:
> Based on that, it should be pointed out (spelled out explicity in Chrome's
> blog post, btw) that my page could be forced into working not in the way I
> intended (that is, rendering before being visible) if any other author on
> the web lists my URL in their <link rel=prerender> tag, and then presents a
> link with that URL which a user follows. That user could end up on my page
> "too late", in that they miss out on important earlier rendering.

Such "rendering before being visible" already happens today. Users can
and do often open links in background tabs (for example through a
middle-mouse-button click). By the time they get around to focusing
the tab, many animations could have rendered, page state could have
changed, etc. If webpage authors are fine with it today, I don't see
how prerendering makes things worse.

More to the point, the Page Visibility API will help authors identify
both of these scenarios (background tabs and prerendering) and react
if desired. That capability seems to be strictly better than the
status quo.
Received on Wednesday, 15 June 2011 17:31:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:30 UTC