Re: Service Workers at Work...

B.t.w., there is also a small video on

https://twitter.com/igrigorik/status/747826527295811584 <https://twitter.com/igrigorik/status/747826527295811584>

showing a way to put the 'book' on the home screen on Android. I am not an Android user, so I could not try this…

Ivan

> On 24 Oct 2016, at 06:28, Ivan Herman <ivan@w3.org> wrote:
> 
> Just for fun:
> 
> Last week a colleague of mine drew my attention on a nice example:
> 
> https://hpbn.co <https://hpbn.co/>
> 
> the book (which reads very nicely in a browser, with a very clean HTML structure; it is refreshing to see it), can be read online and offline. I just tried it, looked at the TOC, opened one or two chapters, then turned my WiFi off, and the whole book (including chapters that I have not seen before) could just be read. I used Opera, which, per caniuse, has SW in the browser.
> 
> The trick is in
> 
> https://hpbn.co/assets/5e7a4451127bdccbb9346f1c8744c0d9.js <https://hpbn.co/assets/5e7a4451127bdccbb9346f1c8744c0d9.js>
> 
> which is linked from the documents and which does some SW magic.
> 
> Just a good example…
> 
> Ivan
> 
> ----
> Ivan Herman, W3C
> Digital Publishing Technical Lead
> Home: http://www.w3.org/People/Ivan/ <http://www.w3.org/People/Ivan/>
> mobile: +31-641044153
> ORCID ID: http://orcid.org/0000-0003-0782-2704 <http://orcid.org/0000-0003-0782-2704>
> 
> 
> 
> 


----
Ivan Herman, W3C
Digital Publishing Technical Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
ORCID ID: http://orcid.org/0000-0003-0782-2704

Received on Monday, 24 October 2016 04:31:29 UTC