Re: Pre-fetch rough draft

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 UTC