W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2012

Re: Pre-fetch rough draft

From: Sergey Nikitin <nop@yandex-team.ru>
Date: Tue, 6 Nov 2012 12:28:24 +0400
Cc: Michael Nordman <michaeln@google.com>, Mounir Lamouri <mounir@lamouri.fr>, public-webapps WG <public-webapps@w3.org>, chaals@myopera.com
Message-Id: <061A5808-93F6-45F7-8E76-0F106775A7FF@yandex-team.ru>
To: Julian Reschke <julian.reschke@gmx.de>

On 05.11.2012, at 16:28, Julian Reschke wrote:

>> 
>> Yes. Exactly.
>> It's not about offline apps, it's about reducing loading time.
> 
> There's already the "prefetch" link relation that you could use.
> 

You need at least two pages to start prefetching.
And you can't prefetch anything for the first page.
If you have single page application you can't prefetch.

And it's not always possible for browser to visit a page (cookie/password protected).
 

>> Prefetch manifest is a way to tell browser what should be downloaded in advance.
>> So when user opens the site (for the first time) all resources (css/js/images/...) are already cached.
>> 
>> And if later site's resources are updated browser could check prefest manifest and
>> re-download all new resources in background. Before user visited site again.
> 
> But then you don't need a manifest for that (see above).
> 
> Best regards, Julian
> 
> 
Received on Tuesday, 6 November 2012 08:29:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:55 GMT