Re: Service Workers at Work...

Glad to see they've added offline to this! Now if only you could get from chapter one to chapter two without having to go to a separate web page and clicking a link there... I discussed this very interesting example a while ago:

https://github.com/w3c/dpub-pwp/issues/21#issuecomment-232671621

Thanks!

Dave



Just for fun:

Last week a colleague of mine drew my attention on a nice example:

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

which is linked from the documents and which does some SW magic.

Just a good example...

Ivan

This may contain confidential material. If you are not an intended recipient, please notify the sender, delete immediately, and understand that no disclosure or reliance on the information herein is permitted. Hachette Book Group may monitor email to and from our network.

Received on Monday, 24 October 2016 14:45:47 UTC